Skip to main content
Inspiring
July 24, 2024
Answered

Multiple Dynamic Filter in the URL

  • July 24, 2024
  • 1 reply
  • 350 views

Hi everyone!

I am here again to ask you for help regarding the dynamic filter.

I have the RH 2022.3.93 and I am generating a Responsive HTML5 Output with a Dynamic Filter that changes the URL, using the suggestion of ChrisWiteof in Dynamic Filter 

This works if I insert in URL only one filter, but How can I change the URL inserting a combination of filters in the same time?

Could you help me?

 

Thanks in advance! 

    This topic has been closed for replies.
    Correct answer elisa23592620fepw

    Hi everyone!

    I did it! I found the correct syntax to use to select different elements of a Dynamic Filter in Responsive HTML5 and it is:

     https://help.test.com/test/?filter=Product:Standard;Cloud#t=Dashboard%2FUsing_Help.htm
    or generically - ?filter=taggroup:tagname;tagname

    1 reply

    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 24, 2024

    I don't think anybody has suggested that "ganging together" multiple ?filter=taggroup:tagname bits will work. I thought the idea was that your conditional expressions handled these combos. (All of which you're going to have to have your calling application code for you, as none of that is done automatically in RH as Peter pointed out).

    Inspiring
    July 24, 2024

    Thank you Jeff,

    but what I want to know (if it exists) is which string query I have to use to insert 2 or more filter to the url: I tried something like that

    -  https://help.test.com/test/?filter=Product:Standard&filter=Product:Cloud#t=Dashboard%2FUsing_Help.htm

    but the filter applied is this filter=Product:Cloud (so the second filter inserted).

    Do you have any suggestions?

    thanks in advance!

    elisa23592620fepwAuthorCorrect answer
    Inspiring
    July 24, 2024

    Hi everyone!

    I did it! I found the correct syntax to use to select different elements of a Dynamic Filter in Responsive HTML5 and it is:

     https://help.test.com/test/?filter=Product:Standard;Cloud#t=Dashboard%2FUsing_Help.htm
    or generically - ?filter=taggroup:tagname;tagname