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



Mar 23, 2011, 10:51 PM
5 Posts

Re: Seems as Document is not updated

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.1
  • Role: Developer
  • Tags: SSJS xpages agent
  • Replies: 5
 Hi Andrew, i used the following code to recycle and re-read the document
 
var docUNID:string = doc.getUniversalID();
doc.recycle();
var doc:NotesDocument = database.getDocumentByID(docUNID);
       
Apr 5, 2011, 10:44 AM
14 Posts
Re: Seems as Document is not updated
I doubt your code work. Note ID and Universal ID are two different attributes. getNoteID() -> getDocumentByID(), getUniversalID() -> getDocumentByUNID()...

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