NeXTensio Forum :: NeXTensio List 3 Default Filter

This thread was displayed: 77 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Ben Mathews
04-10-2006 23:06:54 GMT +2

I am using NeXTensio List 3, ASP, VB Scripts, WXP. Is it possible to set a default for the filter in a NeXTensio List 3? My list includes both active and expired records. I would like both to be available to the user but when the page loads I would like them to see only active records.

Thanks!

Ben Mathews

Back | Reply | Quote | Top
Cristian IVASCU[InteraktOnline]Adobe Systems Romania staff
04-11-2006 12:26:58 GMT +2

Hi Ben,

If you want the NeXTensio list to apply a specific filter automatically when the page loads, follow the next steps:

  1. Open the page containing the list in Dreamweaver.
  2. Switch to code view (from View > Code).
  3. Locate the filter definition. It is marked by a comment like this:
    //Filter
  4. The first line in the code block defines the general filter, then there are a series of calls to the addColumn method. This method defines the filter element for each list column.
  5. To filter the list by default by a specific column, locate it and add as an extra argument to the method call the value to filter by. For example, for a status_inf column which you want to be 0 by default, the line could look like this:
    $tfi_listinformation_inf1->addColumn("info_inf.status_inf", "NUMERIC_TYPE", "status_inf", "=","0");
  6. After defining the filter, save the page and upload it to the remote server.

Hope this helps,
Cristian

Reply | Quote | Top
Ben Mathews
04-11-2006 21:01:04 GMT +2

Thanks, Christian. That sounds easy. I'll give it a try.

Ben

Reply | Quote | Top
Robert Hernandez
02-15-2007 14:57:07 GMT +2

Hey Cristian, this fifth parameter to the .addColum doesn't work. Can you please update this per the most recent version of NeXTensio and ASP/VBScript? 


Related Post 1 | Related Post 2

Reply | Quote | Top
Antonio Costa
04-17-2009 04:37:13 GMT +2

hi,

you have the solution for aspVB

 

Thank's

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.