How can I automatically upload a file into Confluence Cloud?

I am trying to create a confluence page for my team which will display the contents of an attached excel file. However, the values within the excel file (not the overall structure) change on a daily basis. If I upload the updated excel file with the same name, it overwrite the existing and displays the new values in my confluence page which is great however, it is not realistically possible to do this every day.

Ive done some research and the route I'm going down is to upload the file to the confluence cloud instance via a webdav (BitKinex, Cyberduck etc.) I can sucessfully upload a file into the Webdav but how do I then reference that file in the WebDav from my confluence page. I'm by no means an IT professional and I'm basically just hacking around, so if there are some much more simple solutions to achieve this that would also be great to know!!

Many thanks in advance for any help!

 

2 answers

1 accepted

0 vote

The WebDAV function on Cloud is not the same as WebDAV on Server versions - it's for uploading files for Confluence to import or for Atlassian to look at. 

This upload is not the same as attaching a file - it's not associated with a page.  You need to attach files to pages, so WebDAV here is not going to help you. 

I'd use REST to do it - there's a simple example at https://developer.atlassian.com/confdev/confluence-rest-api/confluence-rest-api-examples

Ok great, thanks Nic! I have absolutely no experience with this sort of stuff though! I have some .net programming experience but not much! Any suggestions on a good place to start with learning how to achieve this solution? Or am I in over my head already?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

253 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you