I have RTFM :) and the advice is to write as http://myconfluence.com/display/spacekey/pagename#pagename-anchorname .
My page name is similar to a:b, anchor name is c-d and space is s
I have tried
https://localserver/display/s/a%3Ab#a:b-c-d - expecting this one to be closest to docs
https://localserver/display/s/a:b#a:b-c-d
https://localserver/display/s/a%3Ab#a%3Ab-c-d
https://localserver/display/s/a:b#a%3Ab-c-d
But not having any luck. Can anyone point me in the right direction?
TIA!
Hi @Jim Orion
did you try to set the Anchorlink via link dialog? -> Set link -> Advanced?
Than reuse this created link - may be the fastest way.
Pay attention to the information box you find in documentation.
Creating the link by hand can be very tricky especially when you have special characters in it. Another way could be using TOC macro and create a link to a heading.
I got there in the end - thanks!
I had used that dialog before, but went back to it and saw the error for link a:b#c-d saying that the space 'a' was not found. So i added the space explicitly to it and made it space:a:b#c-d and it created a link that worked :)
It turned out that the page name part of the anchor has spaces stripped out and that was the problem.
So if
a='1234'
b='my page title'
page name=a:b=1234:my page title
anchor=c-d
then the anchor that works is /{a:b urlencoded}#{a:b spaces stripped}-c-d
which is
https://server/display/space/1234%3Amy+page+title#1234:mypagetitle-c-d
not that intuitive really. if only it had been
https://server/display/space/1234%3Amy+page+title#c-d
it would have been far simpler!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great that it worked out 👍🏻 - what a tricky little thing those anchors 🙄 believe me made my own experiences
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.