Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you create page links with URL Parameters?

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"?

1 answer

1 accepted

2 votes
Answer accepted

Hi Duncan,

Shouldn't this work with a normal web link like this? 

image2015-11-30 9:45:55.png

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. :-)

"wouldn't cope with renaming the target page" -- that's what I meant with the ID based link. Simply get the page ID ( and you can rename the page as you please. The link will stay valid.

Aha! That's brilliant. I will try that method, too.

Hi Duncan! Thanks for the feedback! Would you mind to contribute to the PocketQuery community and mark my answer as accepted? And would you mind leaving a review for PocketQuery at the marketplace?

This didn't work for me, Confluence 8.8.

Substituting the tiny link instead of page name and keeping the parameters takes me to the page as with no parameters passed in.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

281 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you