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 4, 2012, 10:30 PM
13 Posts

Search Problem in ViewPanel

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: ViewPanel
  • Replies: 4
Hi,
 
I have  view panel for  Companies and Contacts. Company Name is not stored in the Contact document. Just the Company key is stored in the Contact document so that I can retrieve all the company information based on the Company key.
 
I have looked up the company name in the Contacts ViewPanel.So Now the Contacts view consists of Company Name and Contact Name.
I am trying to search the company name in Contacts view with "Search in View results", but it does not work.
 
Will the search work if the value is not available in the view (but the value is available in the view panel) ?
 
Thanks in Advance
 
Praveen
Mar 5, 2012, 7:01 PM
170 Posts
Re: Search Problem in ViewPanel

Are the database fulltext indexed?
 
/Fredrik 
 
Mar 5, 2012, 7:41 PM
129 Posts
Re: Search Problem in ViewPanel
Search in view is performed against the (back end) Notes view, so you have to search by company key if you want results. 
Mar 5, 2012, 8:13 PM
13 Posts
Re: Search Problem in ViewPanel
Thanks Fredrik and Tommy for you response...
 
The Database is full text indexed...
 
The whole purpose of looking up the data from another view is gone if we can't search on the viewPanel.
Now I need to store the Company Name also in the contact document for the search to work.
 
The problem here is if the Company Name changes,then all the contact documents have to patched.
 
Is there any other way of achieving this without storing the Company Name?
 
Praveen Pulla
Mar 7, 2012, 6:39 AM
129 Posts
Re: Search Problem in ViewPanel
You could probably manage it with a type-ahead.
 
OnChange, look up the company key, and filter the view by that. The hard part is probably making it look like the user is searching by name, and not by key.
 
Example of advanced type-ahead: 
http://www.timtripcony.com/blog.nsf/d6plinks/TTRY-7XD5P9 

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