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



Aug 22, 2012, 2:47 PM
6 Posts

Relational operators are not supported in text fields - ViewPanel visibility formula

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 3
Hi all,
 
I am hiding the view panel based on the row count of the view panel. Getting the following error message.
 
Error while executing JavaScript computed expression
Script interpreter error, line=2, col=40: Error calling method 'getRowCount()' on java class 'com.ibm.xsp.component.xp.XspViewPanel'
Notes error: Relational operators are not supported in text fields

JavaScript code

   1: 
   2: var count = getComponent("viewPanel1").getRowCount();
 Any suggestions for the fix to the above issue.
Thanks in advance. 
Aug 22, 2012, 4:11 PM
129 Posts
Re: Relational operators are not supported in text fields - ViewPanel visibility formula
The error suggests that there is a FTSearch on the view that fails.
Aug 23, 2012, 6:12 AM
6 Posts
Re: Relational operators are not supported in text fields - ViewPanel visibility formula
Hi Tommy,
 
Thank you for your reply. We actually tired deleting the index and recreated it. FT index files on server also deleted before recreating it. Is there any possibility to handle this through code by chance,
 
Thanks  
Aug 27, 2012, 6:13 AM
129 Posts
Re: Relational operators are not supported in text fields - ViewPanel visibility formula
If the UNK table, which contains field types for fields, is "incorrect" (e.g. a number field is set as text field), you can recreate it.
 
If I remember correctly, this is the shortest route to recreate it (you have to do this on each server that has the NSF). 
Delete FT-index. Copy-style compact of the NSF. Create new FT-index. 
 
More about the UNK Table: 
http://www-10.lotus.com/ldd/46dom.nsf/0/080cb1e381148e52852567f500615448?OpenDocument 
 
You could possibly hande this through code if you have administration rights on the server. Then you could send console commands.

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