Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Internal links in Confluence Cloud

Sven Erik Johansson
Contributor
September 19, 2019

We are using Confluence Cloud to document a product to the public. Some of the pages are imported from Confluence Server and some are made new in Confluence Cloud. The new editor is used when creating new pages and the the legacy editor is used for imported pages.

Our version strategy is to work on a master version an then publish it to the public using “Copy space” add-on with a new space key. Internal links are changed to the new space key, but hrefs are not. Se description below.

When I copy an URL address for a confluence page from the address bar and paste it in the new editor it becomes an internal link. Using View Storage Format:

<ac:link ac:card-appearance="inline"><ri:page ri:space-key="ermaster" ri:content-title="M1 Resept" ri:version-at-save="1" /><ac:link-body>M1 Resept</ac:link-body></ac:link>

The title of the link is resolved asynchronously with object resolver. So far so god. Problem is that object resolver does not work for anonymous user. The full path is shown. I have tried the security setting “Anonymous Access to Remote API” but with no effect.

To fix this and also the slight delay for the object resolver to do its magic, I add a title to the internal link. Then it becomes an href:

<a href="https://e-resept.atlassian.net/wiki/spaces/ermaster/pages/34383303/M1+Resept">M1 Resept</a> .. and the hrefs are not translated to the new space key when using Copy space.

I think this is unpredictable of the new editor and I have not found any documentation of this “feature”. We need control over internal/external links. For the public space I don’t want to be dependent on the object resolver since it takes a litle while on slow nets to resolve the title.

I have a Catch 22 scenario here: I cannot use the internal links with Object resolver because it does not work for anonymous users on the published space and I cannot add a title because it then becomes an external link that will link to the master space that is not changed when the space is copied.

The workaround is to copy an imported page that uses the old editor for new pages with links. In the old editor you have full control over internal/external links.

What is the intended behaviour for internal/external links in Confluence Cloud with the new editor?

2 answers

1 accepted

0 votes
Answer accepted
Giuliano C_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2012

Hello,

If the problem still persists and you still experience it, please, feel free to raise a ticket through https://support.atlassian.com

Hope it helps you.

Kind Regards

0 votes
Sherry Umlah
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2018

It's difficult not being able to edit the source of the document.  I've tried adding empty space before and after the horizontal rule and it won't show up, but if I inspect and put a margin on the <hr> tag - eh voila!   It seems like you would want to clear all as part of the hr styling....
hr.gif

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events