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



Oct 20, 2012, 9:23 AM
14 Posts

xPage view does not open documents

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: View Control
  • Replies: 2
hi,
 
I am new in xPages and have this problem: 
I have a very simple Database (3 fields, 1 view - sorted).
I have a xPage with a view control and this works fine.
 
But when I add a document1  to the xPage the view control can`t open any document.
 
If I click on the first document in the view the link is ...aXPages.nsf/xpform1.xsp?action=openDocument&documentId=NEW_126
If I click a second time on the same document the link is ...aXPages.nsf/xpform1.xsp?action=openDocument&documentId=NEW_127
 
I have no idea what the problem is...
 
please help me! 
 
thanks Arno 
Oct 20, 2012, 5:33 PM
366 Posts
Re: xPage view does not open documents
 You need to create a separate XPage for the form (document1) data source.
 
Then in the view control you "link" the clicking of the document in the view column to open the Form XPage. 
 
You need to do yourself a favor and get some formal training before trying to blindly hack your way through XPages development.  Regardless of the marketing hype it is NOT easy or intuitive.
 
TLCC has a free course here 
 
http://www.tlcc.com/admin/tlccsite.nsf/coursedetails.xsp?ccode=XP85INTR 
 
They also have additional training you can purchase. 
 
Davidy leedy has free videos at Notes in Nine 
 
http://notesin9.com/ 
 
matt white has pay for videos at  
 
http://xpages101.net/ 
 
There are two IBM Press books on XPages and the Extension Library. 
Oct 21, 2012, 10:03 AM
14 Posts
Re: xPage view does not open documents
thanks for your info!
 
I have a xpage for the document1... 
I solved the problem with a html-Link - this work - but it would be interesting why the standard link not works.
 
you are right - I have much to learn. Since 15 years I am notes developer, but the xpages are hard stuff!!!
But it is very interesting and finaly the future...
 
thanks for your input and the links!
 
greetings from austria
 
arno      

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