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


Jun 8, 2015, 5:45 AM
21 Posts
topic has been resolvedResolved

Target ViewPanel to a form on the same page

  • Category: Domino Designer
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 1

This should be simple, but as an XPages newbie I've been (re)searching for a few hours with no result. The question is:

I have a ViewPanel and a Panel that contains document fields (like an embedded form) on the same XPage. I want to link the view to the panel, so that the document data gets displayed next to the view (with a partial refresh) on the same page. But I cannot find a way to link the view to the panel form. Would someone point me in the right direction, please?

 

Thanks

Sam Star

 

Jun 8, 2015, 6:21 AM
21 Posts
the solution

I could solve it with the following:

In the view's column that generates a link I've put this code:

viewScope.UNID = rowentry.getDocument().getUniversalID();

return(false);

and set it to make a partial refresh of the Panel

Then, in the document data source definition, the document id is simply:

viewScope.UNID

Cool


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