Insert an existing attachment

Jochen Lürken September 9, 2024

Hi,

we have copied pages and attachments from a local Enterprise Confluence installation to the cloud version.

All attachments are transferred but when trying to use the "add picture video or file" while editing a page it does not let us select a file from the already available attachments.

Instead it is opening a windows explorer asking to upload a file from the local system.

Is this an issue with the "new" editor of the confluence cloud version?

 

How can we select files from the existing cloud instead of a local one?

 

Thanks in advance

2 answers

0 votes
Jochen Lürken September 9, 2024

-deleted-

0 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 9, 2024

Hi @Jochen Lürken and welcome to the community.

When you said copied... does was it an export/import space or manual copy paste?

When you plain copy content from one resource to Confluence (or other tools), the image is sometimes copied not as a physical file but as a link to a file in that original resource (I've seen that happening during copy/paste migrations of content from other CMS into Confluence.

This is certainly not a new editor experience :) 

Since you are migrating Confluence content from DC/Server to cloud, you can you the Migration Assistant, which will properly transfer all your attachments to Cloud.

Alternatively, you can try copy paste individual images from a local page to a cloud page, or download and reupload - which would be tedious but OK if it's only a matter of a couple of pages.

https://support.atlassian.com/migration/docs/confluence-cloud-migration-assistant-to-migrate/

Jochen Lürken September 9, 2024

We've copied the pages with an own script in the UI (basically copy content in editing mode from one browser window to another :-)) and the attachments via RestAPI.

So my question is not about getting attachments from A to B.

All attachments are correct in the cloud.

The button in the editor is simply not giving me the option to choose from existing file and opening a windows explorer instead while the enterprise version is giving me this option (see pictures).

cloud attachment2.png

cloud attachment.png

Like Kristian Klima likes this
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 9, 2024

Oh, OK @Jochen Lürken , I see what you mean and I misunderstood the core of the issue. 

On that regard, you're correct, Cloud doesn't have the option to browse attachments... See the feature request.

Having said that, the workaround, especially for image reuse, is to create a page (set of pages) with on which images would within an excerpt macro (one image per excerpt). This effectively creates an image repo for reuse on other pages.

Jochen Lürken September 9, 2024

I am not sure I got you.

The attachments are there and have all kind for formats like files, .pdf's and images.

I would manually fix the pages if needed if the editor would allow me to pic an existing attachment to be inserted in the page I am currently editing.

The attachments are there, the editor simply does not give me the option to browse "local" (cloud) attachments. 

If this is something related to the "new" editor I want to go back to the old one ;-)

Jochen Lürken September 9, 2024

I added a comment to the Feature Request. 

I have seen this request is open since 2019 so I doubt that a "solution" will come soon ;-)

 

Do you have any other idea?

Like Kristian Klima likes this
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 9, 2024

You can copy/paste images to a confluence page from an image editor and other source, or simply drag and drop files from an Explorer / Finder folder. 

They're automatically added as attachments once you save (publish/update) the page. Which is, as far as I remember, the same as it worked on Server.

Other than that, just what I already share - creating a page repo with excerpts for image re-use.

Jochen Lürken September 9, 2024

I think we will go the complex way.

We will analyze the new page to find out which attachments are used on the page and not only there.

Second we will download those attachments automatically and re-edit the page uploading them at the same position. 

A manual test showed that this is not giving us duplicate attachments which is good cause its one step less.

 

Lets see if we manage to code this.

 

Easier would be: Atlassian fix your editor according to the Feature Request please ;-)

Like Kristian Klima likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events