Hello!
I have a question about links. I need a link to a specific place of another page but i can't use anchors or headings because is necessary to input pagename - if i change pagename or heading name link will break.
Can you give me advice how to create unbreakable link to heading in another page?
Thank you.
Community moderators have prevented the ability to post new answers.
You'll get a permalink if you link to the page by page-ID.
You can get the page ID by going to Tools>Attachments on a given page and looking at the page ID in the URL. It will be something like:
https://[base-url]/pages/viewpageattachments.action?<strong< a="">>pageId=1234567890
Then get the permalink for the page using this format:
http:[base-url]/pages/viewpage.action?pageId=1234567890
No, i'm trying to get permalink not to page but to specific place of another page.
I can't use anchors because link to anchors have syntax: "page name#anchor name".
If i change "page name" link will break.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need link like something this: "page-ID#anchor". Does such links exist?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Damn. You're right...it doesn't work if you do "page ID#anchor name."
I assume you've looked at the anchor macro? https://confluence.atlassian.com/display/DOC/Anchor+Macro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for link. But i wrote her and did not find answer for my question. I asked product advocate team lead and he said this function is not supported at the moment.
I hope to see links like "page_ID#anchor name" in near future.
Bill, thank you for your time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have solved the problem by using what it is known to be working: I have added a test link to the anchor in the same page where the anchor was defined.
After updating I clicked on the test link and it correctly jumped to the anchor but showing in the address bar the whole required link: .....pageId=xxxx#<page-name-without-space>-<anchor_name>
Whatever version you have, this way you will get the link you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked good for me, Thanks for the tip!
Copying the link in the URL after clicking on a anchor link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.