Version: eXtendFiles 1.5.7 and above
Audience: Administrator
Issue
When using a customer center role and loading a record on which you have configured the eXtendFiles Inline Upload feature, you may encounter the following error:
An error occurred - Permission Violation: You need the 'Lists -> Documents and Files' permission to access this page. Please contact your account administrator.
Solution
This occurs if the user's role doesn't have the "Documents and Files" permission. As of NetSuite version 2020.1, customer center roles no longer have the option to add this permission within NetSuite.
To work around this limitation, we have included a custom role "eXtendFiles Document and Files/Item Search" with eXtendFiles. This role has access to the to Document and Files permission. You will need to apply this role on the eXtendFiles Upload Modal script deployment of the eXtendFiles Suitelet script.
- Go to Customization → Scripting → Scripts and open "eXtendFiles Suitelet" in view mode.
Note: you need to be using a NetSuite role with access to view and modify scripts. - Click the Deployments subtab and open the eXtendFiles Upload Modal.
- Edit the script deployment and change the EXECUTE AS ROLE to eXtendFiles Document and Files/Item Search role.
- Save the script deployment.