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

This widget could not be displayed.

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?

This widget could not be displayed.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

363 views 2 5
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