UNC Link from Reporting

I would like to use the results of a {report-info} call to create a UNC Link.

With a UNC Link all you need to do is wrap a directory address with [ ], however, when you wrap the results of a {report-info} call in [ ], it treats the contents like a Confluence address and not a network address.

Using this code, you can see the issue highlighted.

Location: {text-data:Location|width=400px}
Report Location - {report-info:data:Location}
Report Location as UNC Link - [{report-info:data:Location}]

Can anyone suggest anything I am doing wrong OR advise if there is a bug in the way the [ ] link works?

Is there a way I can force a link to be a UNC link with some other syntax rather than just using [ ]?

2 answers

This widget could not be displayed.
David Simpson Community Champion Jul 10, 2011

Do you have any examples?

In wiki markup...

[\\ComputerName\Shared Folder\Resource Name]

...seems to work ok for me.

This widget could not be displayed.

I tried to add this as a comment but it kept saying I was over the 600 character limit - but I had 63 characters left ???

I recieved a comment from David Simpson [AppFusions] but for some reason it doesn't show up here.

The comment was:

Do you have any examples?

In wiki markup...

[\\ComputerName\Shared Folder\Resource Name]

...seems to work ok for me.

The example to use is this three lines of wiki syntax:

Location: {text-data:Location|width=400px}
Report Location - {report-info:data:Location}
Report Location as UNC Link - [{report-info:data:Location}]

Normal UNC links work.

It doesn't work when the contents of the link is from a {report-info} call.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

854 views 8 13
Read article

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