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...
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.)
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community.
This should be possible, by using the API.
You would 1st need to get the content ID of the picture or file or set a content property id as a starts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer! Could you please give me a hint, where I can find the content ID of an attachment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.