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 , Yes, I have also faced the same issue when I tried to use this in the 24.4 environment:I got 'Expression evaluation error at function a!documentsChatField [line 2]: a!documentsChatField cannot be called from a user rule,' error even though I have permission to view that file. So, I went through the documentation and discovered that this feature was released in version 25.1. Therefore, it may not be available in version 24.4. You can check the details here: 24.4/page-not-found. The latest version is 25.1 Documents_Chat
Hi gayatria0439 i'm using it in 25.1 but still facing this issue as record chat ,data fabric chat and document chat not showing in my palatte not sure why