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,363,989
Community Members
 
Community Events
168
Community Groups

Unable to assign logged in User name on field

Hi All,

I have requirement to pre populate logged in Use name and email address into a form field. I tried assign default value as [entry._user.fullName] and [entry._user.email] but its not getting replaced with the actual user name or email value at the time of viewing the form. I am new to the confluence page design. Looking for your guidance to troubleshoot this issue.

<ac:parameter ac:name="fieldName">ReqName</ac:parameter>
<ac:parameter ac:name="fieldLabel">Requestor Name</ac:parameter>
<ac:parameter ac:name="type">read_only</ac:parameter>
<ac:parameter ac:name="required">true</ac:parameter>

 

Thanks

Abhik Banerjee

1 answer

1 accepted

1 vote
Answer accepted

HI

Default value as a parameter in Field Definition expects and supports static values only.

To set the value dynamically you can either use ConfiForms Field Definition Rules or use the following approach

http://recordit.co/CzdzfaN44X 

Please also note that there is really no need to track this information manually as each record in ConfiForms tracks created/createdBy metadata for you automatically (among some other fields https://wiki.vertuna.com/display/CONFIFORMS/Documentation )

Alex

Thanks a lot Alex. The approach defined on the http://recordit.co/CzdzfaN44X has worked for me.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events