I am having issues anchoring within the same space but between two different pages. My first page is called "Bank Reconciliation" and my second page is called "Common". I created an anchor under the "Common" page for the field, "Bank" (see picture below)
When I go to tie the anchor to the "Bank Reconciliation" page. I highlight the part I need the anchor attached to, click link and type "Common#Bank" (see picture below) When I click Enter, nothing happens.
I have been referencing the "Anchors" Support page on the Confluence website and it shows to use "page name#anchor name" when anchoring in the same space. (see picture below)
Has anyone ever ran into this before? Am I entering the link incorrectly?
@Morgan Geiszler Welcome to the Confluence Community.
I have successfully completed this by using the URL#anchor_name. When using the link macro it should provide the option of linking to a page (which displays the name and URL). once selecting that, append the #anchor_name to the end of the URL. Page name text alone does not help.
Thank you for the feedback Andy!
Using the "URL#anchor_name" took me to the correct page but it brought me to the top of the page rather than the anchor that is halfway down the page. In the link, is there something I need to add so when I click the link, it will redirect me to the anchor on the other page and not just the top of the new page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Morgan Geiszler mine is working, but the entire page needs to render before the redirect takes place. depending on how much data and graphics you have on your page it may take a few seconds. Also, the anchor name is case sensitive - make sure you have it typed correctly.
FYI, this is the latest documentation on anchors.
https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/
Link formats
Depending on the destination of your link, there are a variety of ways to format your URL.
Anchor
To link to an Anchor macro on the same page:
Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.
Add the link to the anchor anywhere on the page by highlighting the text to be used as the link
Select the link tool
Enter the name of the macro prefaced by a # symbol. If your Anchor Name is topofpage, you'll enter #topofpage when creating your link.
To link to an Anchor macro on another page:
Copy the page of the URL to whose anchor you want to link
Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.
Go to the page where you want to add the link and edit the page
Highlight the text to be used as the link
Select the link tool
Paste the URL to the copied page in the link field followed by a # symbol and the anchor name.
Example
page name = Project notesAnchor name = notes from today
Link = sitename.domain/wiki/Project+notes#notes-from-today
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Morgan Geiszler hoping that my my answered helped you. If it did, please mark it as accepted so other community members searching for similar or related issues can find it easier.
If it has not, please let me know how I can help.
Cheers!
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.