Forums

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

Is it possible to display dynamically updated pictures or PDFs in confluence?

Eckhard Lanzinger October 9, 2025

Is there a way to display graphs that are automatically updated by some other system, e.g. by a cron job on a daily basis, on a confluence page?

Right now, I can only upload the new version manually and it would be great if this could be automated or loading the updated document could be performed on demand by clicking on a link or so...   

3 answers

2 accepted

0 votes
Answer accepted
Aron Gombas _Midori_
Community Champion
October 10, 2025

So far, did you rely on uploading a new attachment to a Confluence Cloud page?

If so, you can replicate that behavior using the REST API end-point that allows uploading attachments programmatically. (Tip: you can also integrate this into Confluence automation rules if that fits your case.)

Eckhard Lanzinger October 13, 2025

Thank you for your answer and for the valuable link! With this information, I can get support within my organization :-)

To answer your question: yes, I uploaded every updated attachment manually...

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2025

HI @Eckhard Lanzinger 

Welcome to the community.

This should be possible, by using the API.

https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content/#api-custom-content-id-put 

You would 1st need to get the content ID of the picture or file or set a content property id as a starts.

Eckhard Lanzinger October 13, 2025

Thank you for your answer! Could you please give me a hint, where I can find the content ID of an attachment? 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2025

Hi @Eckhard Lanzinger 

You can update the attachment via an API call, api-wiki-rest-api-content-id-child-attachment-put 

But 1st you need the ID of the attachment to do so, to get the ID of the attachment, use the API call api-pages-id-attachments-get 

 

0 votes
Eckhard Lanzinger October 15, 2025

Big thanks to everyone! Problem is solved :-)

With this mechanism I can feed a confluence page that shows automatically daily updated plots with results of an automatic process. 

 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2025

Hi @Eckhard Lanzinger 

Please accept my answer as a solution, if my answer helped to solve or provide a workaround to your request.

This will help other community member trying to solve the same or provide them with a work around

P.S. If the answer is very valuable to you, please share some kudos.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events