Displaying a test file from server on confluence page

Jump Operations June 13, 2013

If I have a text file "file.txt"on a server "fileserver-1" how would I go about displaying that file on a confluence page? The file "file.txt" would be regularly updated and I would want to display the most current version on confluence everytime someone views the page

3 answers

0 votes
PeterKoczan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2013

Hi,

For that you can use the iframe macro for example: http://www.adaptavist.com/display/AtlassianConfluence/iframe+macro

Or simply use the HTML macro (Confluence built-in) and write the iframe yourself (http://www.w3schools.com/html/html_iframe.asp).

0 votes
PeterKoczan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2013

How about embedding this in an iframe? This would make sure if a client-machine has access to the file directly, the file will be displayed for them within the iframe too.

Jump Operations June 23, 2013

How would I set up iframe?

0 votes
PeterKoczan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2013

Hi,

Is the file in question located on a file share or can you publish it on a webserver? If you can use a webserver, I'd suggest the HTML include macro otherwise an option would be to use a simple HTML macro instead and create an <iframe>, linking to the file specifically.

Kind regards,

Peter

Jump Operations June 16, 2013

The file is stored localloy on a server that isn't a webserver. The file would be stored at \\fileserver-1\c\user\genuser\file.txt I had though of using the csv macro for this but I am running into a few issues with a security macro.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events