I have a form with a link field where URLs will be pasted in. In views I do not want to have the (rather long) URL shown, but either a standard text or icon (e.g. "Weblink") or a text which the registration user has to enter in the form.
Is that possible and if yes, how?
Currently the link field will just take the original link into views.
Thanks for hints :)
You can have a ConfiForms field macro with field name set to use asLink function.
https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Assuming your field is called "mylink" then you will need to put into field name parameter something like
mylink.asLink(Weblink)
I am trying to use this method but it is is showing 'weblink' even when link is not provided by the user and record is empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
May I see how are you using this?
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ma using it inside the "Field" macro in TableView macro, here is how Field macro looks like..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unless you are using some very old ConfiForms version it should work
Quick test from me: http://recordit.co/5uHh1WixP0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A-ha, you are saying that the "weblink" label is generated EVEN when there is no value in the docLink field. I see now!
We will fix this asap
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.
Alex, any update on this?
"A-ha, you are saying that the "weblink" label is generated EVEN when there is no value in the docLink field. I see now!"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has been fixed the same month we had this discussion
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have my definition as
<ac:structured-macro ac:macro-id="65caec94-3803-41c3-bcf0-8873cd064e56" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">Hyper</ac:parameter>
<ac:parameter ac:name="fieldLabel">URL</ac:parameter>
<ac:parameter ac:name="fieldDescription">URL if exists</ac:parameter>
<ac:parameter ac:name="type">link</ac:parameter>
and the field set up as
<ac:structured-macro ac:macro-id="317838c7-caea-4f4a-b1e9-449e2b448e30" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="hideIfEmpty">true</ac:parameter>
<ac:parameter ac:name="messageToShowWhenEmpty"/>
<ac:parameter ac:name="fieldName">Hyper.asLink(Link)</ac:parameter>
Every record shows Link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on your answer timeline it looks like the fix would have been Feb-March. I will check with my admin on the last time it was updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That looks correct (configuration). Please check what ConfiForms version you are using and update if not on latest
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.