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



Jul 4, 2012, 3:29 PM
4 Posts

How to filter view panel documents by dynamic inputs from InputBox

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Xpages view
  • Replies: 1
Hi All,
 
How we can filter a view panel documents by given a end user key from the inputText. 
 
Ex:- there is a inputText where user may type 'x' and all the document appear in the view panel where first coloum starts with x.
 
Even if user press the second key as 'a' then all the documents appear in the view panel where first coloum starts with 'xa'.
 
Please help on the same.
 
Thanks in advance... 
 
Jul 10, 2012, 7:59 AM
43 Posts
Re: How to filter view panel documents by dynamic inputs from InputBox
 Hi,
 
You can do this by using the inherent feature in the view: 
 
Select your view --> All Properties --> Data -->  Category Filter/Search/Search Fuzzy/Search Exact Match.(There are many such options.Select according to your need)
 
For example if you want a Category Filter..Just write down the name of the field:  You can use sessionScope/requestScope for this(Eg. sessionScope.fieldName) .
 
For your second question you can use ajax which is provided by all text fields. For example if you select a text field you can go under typeAhead option and write down the formula. 
 
Hope this helps. 
 
Regards, 
CHINTAN P. 
 

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