This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 23, 2012, 6:55 AM
14 Posts

session.freeTimeSearch does not work in browser but it does in notes client

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: xpages,SSJS
  • Replies: 0
Hi,
 
I tried to get freetime information by using session.freeTimeSearch. I followed the sample code from the wiki (http://www-10.lotus.com/ldd/ddwiki.nsf/dx/NotesSession_sample_JavaScript_code_for_XPages#freeTimeSearch). 

If I run this code in the Notes Client it works, but if I run this code on Server in the browser I get an error: 

Exception occurred calling method NotesSession.freeTimeSearch(lotus.domino.local.DateRange, number, java.util.Vector, boolean) null

The same code in java throws this exception: 

HTTP JVM: NotesException: Unable to find FreeTime for Names provided
HTTP JVM: at lotus.domino.local.Session.freeTimeSearch(Unknown Source)
In the Notes Client this code runs w/o an exception.

Does anybody has an idea how to get freetime in XPages outside the Notes Client?

Thx Jan

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal