Version: eXtendFiles 1.6.5 and above
Audience: Administrator
Problem
When using a customer center role and attempting to upload a file to a record with the eXtendFiles Inline Upload feature, you might face the following error message:
Error: Permission Violation - 'Lists -> Documents and Files' permission is required to access this page. Please contact your account administrator.
Solution
This issue occurs when the customer's role doesn’t have the "Documents and Files" permission. Since NetSuite version 2020.1, customer center roles can no longer add this permission directly.
To work around this limitation, eXtendFiles provides a custom role named "eXtendFiles Document and Files/Item Search". This role includes the necessary Document and Files permission for use with the inline uploader. Here's how to apply this role to the eXtendFiles Upload Modal script deployment in the eXtendFiles Suitelet script.
- Go to Customization → Scripting → Scripts and open the "eXtendFiles Suitelet" in view mode. Note: Ensure you're using a NetSuite role that allows viewing and modifying scripts.
- Select the Deployments subtab and access the eXtendFiles Upload Modal script deployment.
- Modify the script deployment by setting "EXECUTE AS ROLE" to "eXtendFiles Document and Files/Item Search".
- Save the modifications to the script deployment.