How can I render a link entered in a Scaffolding field in a report?
How can I allow somebody to enter a link in a Scaffolding text field and get that link to render properly in a report?
I have a Scaffolding field like: {text-data:Hostname}{text-data}
For some of our servers, we make the hostname entered in there a link to a web console for the machine: [Hostname|https://hostnamecon/]
Scaffolding allows me to enter that information, but when I use the Reporting plugin to retrieve that data on another page, the link is printed literally -- brackets and all.
Is there a way around this?
I have a Scaffolding field like: {text-data:Hostname}{text-data}
For some of our servers, we make the hostname entered in there a link to a web console for the machine: [Hostname|https://hostnamecon/]
Scaffolding allows me to enter that information, but when I use the Reporting plugin to retrieve that data on another page, the link is printed literally -- brackets and all.
Is there a way around this?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi,
it's a litte bit complicated but with RnR and Visibility Plugin it should work
{hidden-data}{text-data:txtHOSTNAME|width=15em}{text-data}{hidden-data}{hide-if:action=edit}{replace-and-render}{replace-item:%HOSTNAME%}{get-data:txtHOSTNAME}{replace-item}{replace-body}{hidden-data:whenEmpty=txtHOSTNAME}[%HOSTNAME%]{hidden-data}{replace-body}{replace-and-render}{hide-if}
Maybe you find an easier way -
This reply was removed on 07/28/09.
see the change log -
This reply was removed on 07/28/09.
see the change log -
Inappropriate?It looks like all I had to do was add {|render=wiki} to my {report-info} field. Doh! Thank you anyhow!
I’m embarrassed
2 people say
this answers the question
-
Glad you guys figured it out! Makes my job easier anyway :) -
I was looking for the same thing ... so thanks for the great answer!
Loading Profile...


