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 7, 2012, 12:07 PM
2 Posts
topic has been resolvedResolved

Response Documents

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 3
 Hi All,
 
I have response documents in my database. 
Using a data table control all the response documents related to a particular parent are being displayed.Each document has an button called "Edit " associated to it. I need to get id of the selected response document..
 
I tried using : dataSource.getDocument().getUniversalID(). 
 
The above mentioned code works fine for all documents other than response documents. 
I want to get Universal ID of response document,can any please help me to get the id a document from data table.
 
Thanks in advance. 
Mar 7, 2012, 12:31 PM
18 Posts
Re: Response Documents
 Try using  the following:
 
 dataSource.getUniversalID() 
Mar 7, 2012, 10:45 PM
47 Posts
Re: Response Documents
 Be sure within your data table you are accessing the current row by the collection name (often something like 'rowData'). If a view is the datasource for your data table then each item will be a NotesXspViewEntry which does have the getUniversalID() method so rowData.getUniversalID() should work. Just be sure you're working with the current row, not the datasource itself.
 
Rich 
Mar 8, 2012, 10:37 AM
2 Posts
Re: Response Documents
 Thank you  both for the reply.
 
Solution given by Deepa worked great! 
 
 

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