It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

WEBServer application

Dear all, 

Can we use confluence server for user upload file use? Because we would like to use html macro , we must upload some file to some path for use iframe html code. How can user upload file by user ? Thank you.

<iframe src="http://star.confluence.com.tw/"></iframe>

 

2 answers

0 votes
nic Community Leader Oct 27, 2015

>Can we use confluence server for user upload file use?

Confluence has attachments on pages. 

>Because we would like to use html macro , we must upload some file to some path for use iframe html code.

iFrames are for pulling entire web pages from other sites, they have nothing to do with attachments if you use them in Confluence.

>How can user upload file by user ?

That doesn't make sense.  "How can user upload file" is clumsy but clear (A user can upload a file as an attachment), but the "by user" on the end of it makes it nonsense.  I don't know what you're actually asking for here.

Thank you for your reply.

Because I would like to upload attachment and generate a website link of the attachment for html macro use? We tried and found we can generate a website link as same as http://10.10.10.207/download/attachments/45613069/20151011.xlsx?version=1&modificationDate=1446037915108 , but we can not use the address for html macro use. Because we want to use iframe tag for html macro use such as 
<iframe src="http://10.10.10.207/download/attachments/45613069/20151011.xlsx?version=1&modificationDate=1446037915108">
But when we add the code at the html macro, when user open the page content, it will download the file. But we want to show the attachment content by browser.
Thank you.

Suggest an answer

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

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,801 views 15 37
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you