Working with ConfiForms...

I want to set the CreateDate when an entry is made to a ConfiForm. I ant to be able to perofm some other custom action so I made use of ConfiForm IFTTT Macro but can't get ti to set the value to the field. 

I also want to set the titleField form a ConfiForms Form in a ConfiForms TableView to show up as a link by rendering the urlField from the ConfiForms Form as the destination. I currently have urlFiled.asLink(titleField) in the Field name of the ConfiForms Field in the ConfiForms TableView, but the titleField is not rendering.

Appreciate any guidance or advice.

2 answers

0 votes
Davin Studer Community Champion Nov 29, 2018

The created date/time is automatically set when you create an entry. It is a hidden field called created. You don't need to create a new field for that it's already done for you.

That addresses the first question, but not the second.   (This probably should have been two questions.)

I'm having the same problem. The asLink virtual function works with no argument (it constructs a well-formatted HTML link).  But when given an argument, as in asLink(titleField), it fails. Not only does it fail to use titleField as the display text for the link, but it fails to build the HTML link at all -- urlField.asLink(titleField) just returns the value for urlField, not wrapped in any HTML <a> tag.

Each record in ConfiForms has a set of metadata fields built-in for each record. You don't have to define them - they are just there.

One of the fields holds exactly the value you need, and it's called "created" (without quotes). As @Davin Studer has previously noted

See more on ConfiForms documentation

 

To answer your second question, I suggest to put an "autolink" field into your ConfiForms Form and set the pattern you want to construct these links dynamically.

Why the "urlFiled.asLink(titleField) " you have does not work for the "titleField" is because the function "asLink" does not support variables in the parameters at this point.

Again, using instead the "autolink" field allows you to construct your links dynamically and based on the pattern you give

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

471 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you