Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,862
Community Members
 
Community Events
168
Community Groups

(ConfiForms) Can we create a field that accepts a link to a page and displays it as a hyperlink?

Edited

Hello,

New to ConfiForms and trying to figure out its intricacies.

I want to add a field that accepts a webpage URL and then displays it as a Hyperlink along with all the other fields information in TableView.

Eg: The form will have a field where the user inputs "google.com" and in the TableView this link gets displayed as "Link". 

Also, is there a way to select a Confluence Page in the same space as a field entry using the page browser that we have by default in Confluence when using the link function on a page? My goal is to basically accept a Confluence Page link into the form.

 

@@Alex Medved _ConfiForms_ Would appreciate your expertise on this. Thank you!

1 answer

1 accepted

2 votes
Answer accepted

Hi

You can have a "Page/Blogpost" field on your form that does exactly that - stores a reference to the page and autosuggests when you start typing (can be set to lookup only in a certain space - parameter on ConfiForms Field Definition macro)

Displaying general links is very easy - no matter what field type you choose - can be a text field and then.. when you create a view over your data you can use asLink virtual function to render it as link - https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions 

Alex

Thank you so much Alex. This was exactly what I was looking for!

I see there is an option saying "Hide Space Key from View" but it doesn't really change anything.

What do you mean it does not change anything? It hides the space key from the "view"... not from the page lookup! Just like the parameter label says

Save the record and then see how it gets rendered in a view (TableView/CardView/etc)

Yes, I figured that part out. But I was hoping for a way to hide the Space Key when an user searches for a page. As I have already restricted the field to search in a specific space, I don't want it to pop up while someone is filling up the form.

Its a minor issue. Was just wondering if its possible. 

Not at the moment, sorry

Like davin likes this

Thank you so much nonetheless!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

112 views 0 9
Read article

Atlassian Community Events