After creating a Quick App (New Application --> Create Using Application Builder (Full)), specifying a user field for the form, and submitting a data entry through the Quick App, the following error is encountered:
"Expression evaluation error at function a!gridField [line XXX]: A grid component [label=“null”] has an invalid value for “columns”. A grid column [label=“<USER_FIELD>”] has encountered an error. Expression evaluation error at function a!linkField [line XXX]: An AnyLinkField component [label=“”] has an invalid value for “links”. The array of links cannot have null items."
The generated Quick App interface for the "Trends" tab has a format username expression rule!IST_FormatName(fv!row.<userfield>() that is wrapping the username parameter of the expression rule!IST_UserRecordLink() rather than the label parameter. This issue has been reported to the Appian Product Team. The reference number for this issue is AN-140630.
rule!IST_FormatName(fv!row.<userfield>()
rule!IST_UserRecordLink()
*_All<Record_Singular>
<Record_Singular>
Replace the code for the user grid column with the following code:
Note: The best way to find the section of code that must be replaced is to search for UserRecordLink in the SAIL expression mode:
UserRecordLink
a!gridColumn( label: "<User_Field>", sortField: "<userfield>", value: a!linkField( links: {if(isnull(fv!row.<userfield>),{}, rule!XXXXX_UserRecordLink( fv!row.<userfield>, XXXXX_FormatName(fv!row.<userfield>) ) ) } ) )
This article applies to Appian 19.2 and 19.3.
Last Reviewed: September 2019