Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Not able to view the upload document preview in page

Hi Team,
Asa part of my work I have to upload csv files, text files and some times images. I am able to upload to the page but I got 2 issues now

1. I want to add the images to one section of the page and csv into another section of the page but I am failing it to tag attachments to intended section. Can you please help me to insert attachments into desired section of the page

2. I am able to push attachments to the page but not able to view their preview in page. what should I do to get a preview of attachments

Any help is much appriciated

Thanks in advance 

1 answer

0 votes
Alex Koxaras Community Leader Sep 13, 2022

Hi @ramesh kumar 

Can you please post a screenshot?

Screenshot 2022-09-13 at 13.47.19.pngScreenshot 2022-09-13 at 13.47.58.png

Hi @Alex Koxaras,

Above screenshots are one with attachments and other one where it is failing to load preview. Could you please help me if I can get any suggestion to tweak any properties to get this done? Any help much appreciated


Ramesh Kumar Tirumareddy

Alex Koxaras Community Leader Sep 13, 2022

If you remove it and upload it again, it has the same behavior? If yes, the file could be corrupted.

Yes it behaves same even after reattaching it. Is it corrupted because of the way I uploaded? I can view that file by going into attachments section and hit on view button.

Andy Gladstone Community Leader Sep 13, 2022

@ramesh kumar have you tried dragging and dropping the attachment into the page? I see you are using the Rest API for these attachments. If you manually upload, does the same behavior continue?

Like Alex Koxaras likes this

Manually I did not tried but let me give a try and let you know

Yeah If I manually do an upload,  I can view the attachment without any problem. But I want it to be a part of script so I want to upload that using curl in REST API 

Can you please help me to achieve this?

Andy Gladstone Community Leader Sep 13, 2022

@ramesh kumar I am not too familiar with the REST API. However, here is link to the documentation where it applies to attachments. I believe your API call may need to be tweaked so the attachment comes through properly to allow the preview to work.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

586 views 0 13
Read article

Atlassian Community Events