Skip to Content
0
Former Member
Sep 11, 2006 at 12:32 PM

HowTo Transfer multiple filter selection between WebTemplates

19 Views

Hello all,

How can I transfer a multiple filter selection in the URL between two webtempaltes??:

Scenario:

webtemplate 1 is an entry webtemplate where you can select materials to display with a standard navigation block. When you select ONE material the URL says:

…

&DATA_PROVIDER=DATAPROVIDER_1&FILTER_COLLAPS=&FILTER_COLLAPSE=&FILTER_IOBJNM=0MATERIAL&FILTER_VALUE=0000000001&FILTER_NODE_IOBJNM=0MATERIAL

…

This is easy to put in the URL of a new webtemplate (2) which is displayed when clicking on a certain button.

But when you select TWO or more materials the URL says:

…

&BOOKED_VALUES=Q&CMD=PROCESS_HELP_WINDOW&DATA_PROVIDER=DATAPROVIDER_1&FILTER_COLLAPS=&FILTER_IOBJNM=0MATERIAL&HELP_SERVICE=DP_VIEW_FILTER&IOBJNM=0MATERIAL&CMD=PROCESS_HELP_WINDOW&SUBCMD=FILTER_SUBMIT&INDEX=0

…

Does anybody know how to use that information meaningfully? What to put in the URL of webtemplate 2 to copy the filter?

I guess I could also read out the filter value of a standard filter object and make a loop with FILTER_VALUE_1=0000000001&FILTER_VALUE_2=0000000002...

but this does not seem very elegant.

Thanks in advance for your help,

best regards,

Michael

Message was edited by: Michael Henkel