We're using PocketQuery with dynamic parameters to be able to define a page that displays the result of a query depending on a passed URL parameter.
How do I create links from other pages which pass different parameters to the same page?
For instance, I have a page called "Program Files" which lists programs defined in a database, but filters the list to only show programs that start with the passed 'letter' parameter.
So to list programs that start with 'a' I can reference a page (using the browser location bar) as "Program Files?pq_letter=a" and only the 'a' programs appear in the list.
So how do I create a link on another page to point to page "Program Files" with the parameter "?pq_letter=a"?
Shouldn't this work with a normal web link like this?
You could also take the ID-based URL which is a little cleaner: /pages/viewpage.action?pageId=%yourPageId%&pq_letter=a
Regards, Felix (Scandio)
P.S. we just released PQ 2.0 which has a feature "dynamic load" that could come very handy for your dynamic parameters. You can find information here.
This is obviously the only way to do it. I had to insert the Space Key (CU in this case) after the /display/. My concern would be that this method wouldn't cope with renaming the target page. For instance if I renamed the "Program Files" page to "System Files". But I guess it does the job. :-)
Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs