I am using Confluence version 8.1.0
I have a field definition in a confiform that is named "linkToRegistryPage". The field type is autolink. When I use a tableview macro to display all the links, it lists them in the following format:
http://linkName1\extraStuff
http://linkName2\extraStuff
http://linkName3\extraStuff
This is fine, but I want it to just display:
Link
Link
Link
I attempted to follow this forum's instructions found here:
So I attempted to use ".asLink(Link)" as follows:
in the confiforms field macro I define the field name as:
"linkToRegistryPage.asLink(Link)"
The output shows this:
http://linkName1\extraStuff">Link
http://linkName2\extraStuff">Link
http://linkName3\extraStuff">Link
This is super weird and I can't get it to work. Any solutions?
Hi @Evan Hiatt and welcome to this community
Autolink field itself is a HTML link - that is why the asLink function does misbehave in some way.
What you can do is the following (in the field name macro parameter)
linkToRegistryPage.extractText.asLink(View)
Alex
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.