Basic user no sufficient privileges to use getcontentdetailsbyuuid

Hi Guys,

I have use case where in from a Record View a regular user should be able to view/download a document through a link. To get the actual document -- getcontentdetailsbyuuid is called and UUId as an input. The UUId is stored in the database and is being pulled once user views the record. The getcontentdetailsbyuuid() function is used to get the actual document stored in Appian. Now when viewing the record as a basuc user, I got the error: 

Error Evaluating UI Expression Expression evaluation error in rule 'retrievedocumentfromuuid' (called by rule 'accountmanagementrecordform') at function 'getcontentdetailsbyuuid' [line 14]: Error evaluating function 'getcontentdetailsbyuuid' : The user <user> does not have sufficient privileges to perform the requested action. (APNX-1-4198-000)

Thanks in advancee!

  Discussion posts and replies are publicly visible

Parents Reply
  • Yes, no issue if I temporarily change the user type to Sys Admin. I found out that one of the file (retrieved using UUIId stored in database) is not already existing in repository. So it might be causing the issue. The error -- "The user <user> does not have sufficient privileges to perform the requested action. (APNX-1-4198-000)" might be not useful in debugging. I&#x27;ll further check on my end if putting a handler would be the workaround. Thanks for now Alok and Christine.
Children
No Data