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

Get page URL through SQL query

I have a select from content table where I get all current pages.

I would like to get an additional column where I could get each page URL.

What is the table I have to join with the content to get those URLs?

 

Thank you,

FC.

1 answer

1 vote
DPK_J Community Leader Sep 12, 2019

@Francisco Cohen

Go through this knowledge base article, urls are not stored in database but can be generated programmatically.

https://confluence.atlassian.com/confkb/the-differences-between-various-url-formats-for-a-confluence-page-278692715.html

The page id based URL is straightforward,

<CONFLUENCE_BASE_URL>/pages/viewpage.action?pageId=<PAGE_ID>

 

If you are looking for tiny urls,

https://confluence.atlassian.com/confkb/how-to-programmatically-generate-the-tiny-link-of-a-confluence-page-956713432.html

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

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