I have used this code in my interface with different approaches and get this error everytime .
Expression evaluation error [evaluation ID = 15a08:f572c] at function a!documentsChatField [line 70]: a!documentsChatField cannot be called from user rule (APNX-1-4198-000)
{ a!documentsChatField( label: "Documents Chat", labelPosition: "COLLAPSED", documents: ri!record[recordType!SMRT Document Collection.relationships.smrtDocument.fields.documentId], height: "AUTO" ) }is there any other approach we can use for this component in our interface or if there is any other code reference that will be really helpful.
Discussion posts and replies are publicly visible
Hi Priyanka Diwan ,
I'm also facing the same issue and my env version is 24.4 and It could be because the a!documentsChatField() function was introduced in Appian 25.1.To utilize this function, ensure your environment is updated to Appian 25.1
a!documentsChatField()
Hi Vyshnavi Naripeddi thanks for insights but my environment is 25.1 but still i'm facing this issue and this component not showing in my palette
If its not the issue with environment version, as Derek mentioned please raise a support ticket.