I have been tasked to create some templates in Confluence. I can create a tamplate and places anchors without any issues. But when I place the internal page #link it replaces the link with "bad link"
If you create the page then edit it, then save it, the links then work and render correctly. Is this a bug or intended behavior?
I have been experiencing the same issue. But I tried the workaround specified in the Atlassian bug ticket linked above using link markup [link text|#anchorname] in the template and although it still looks broken when creating the page, as soon as I save the page using the template, the anchor links do work.
I tried the work around noted by Michelle, using the markup (like you would in a JIRA issue comment), and it also worked. After the final close bracket and 'enter', it displays as "Broken Link" inside the template itself, and then shows just a "0" for the text when viewing the template. But, when actually creating a new page from template and publishing, the text displays as intended and the anchor links works.
Only bummer is that you can't edit the anchor inside the template or view what you were intended later, and can't copy/paste to other places within the page, but those are small prices to pay for the workaround to work!
Have long wanted this option, glad I did some additional Google searches today when someone else in my organization asked about how to do this!
Just for clarification:
Is that your scenario?! Would you please tell me what version of Confluence are you using and What is your browser?!
Here are the steps to re-create the issues: -
We are using Confluence 5.4.2.
I am also using Firefox 26.0
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
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