Hello,
I am creating some reports in pocket query and the result of this report is a weblink which I would like the user could click on and be directed to a confluence page, however, in pocket query the result appears as plain text only.
How can I configure this link to be "clickable"?
Thanks a lot
Joao Flavio
Thank you, but this script not worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used a different template, it's works.
<tbody>
#foreach ($row in $result)
<tr>
#foreach ($key in $row.keySet())
#if ($key == "link")
<td>
<a href="$row.Link">$row.get("title")</a>
</td>
#elseif($key != "title")
<td>$row.get($key)</td>
#end
#end
</tr>
#end
</tbody>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes, I managed to create a HTML script as a Pocket Query template and it works very well.
This is the code I used:
<script>
## @Param colresizable:true
PocketQuery.template("default")
</script>
<table class="aui confluenceTable pocketquery-table">
<thead>
<tr>
#foreach ($column in $columns)
<th>$!column</th>
#end
</tr>
</thead>
<tbody>
#foreach ($row in $result)
<tr>
#foreach ($column in $row)
<td>$!column</td>
#end
</tr>
#end
</tbody>
</table>
Thanks for your attention
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.