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



Jan 4, 2013, 3:39 PM
6 Posts

Field/item value existing in doc is not selected in a view

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 2
 I am studying Xpages and I have designed one form and two views.

One of the views selects @ALL.
The other one selects the form and checks the value of the field/item TxtSta (string) whether equals to '2' or not.

The doc is created through a Xpage when I click on the save (submit) button.
The default value of the 'TxtSta' is a string '2' and the that field itself is of the type 'String'.

After the doc saved (XPage form submitted), the first view shows it, but not the second one.

Otherwise, if I edit the newly created document, it appears on the the both views.

It seems to me that the second view doesnt selects the doc because the field/item 'txtSta', although having '2' in it, it doesnt have a valid value for the select clause of the view.

How may I solved this issue?

Thank you.
Jan 4, 2013, 7:34 PM
366 Posts
Re: Field/item value existing in doc is not selected in a view
 Try surrounding the field name in the view selection formula with @text function
Jan 4, 2013, 11:17 PM
6 Posts
Re: Field/item value existing in doc is not selected in a view
Thank you, Calhoun, but I did it before posted this issue.
 
It would be a bug? 
 
I will try to set that field programmatically, via JavaScript or some sort of. 
 

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