Drawloop - Insufficient Privileges message when sending an Email

Issue

The following error may be received when sending an email with the following conditions:

 

- Word to Email option is selected

- Preview On Screen is selected

 

Error Code

Insufficient Privilege: You do not have the permissions needed to delete Document.
Error is in expression '(!sendEmail)' in page loop:email: (Loop)

Resolution

Ensure the Profile for the user getting this error message has Delete rights to the Documents Object.  

 

  1. In Salesforce Setup Quick Search "Profiles" and Select Users > Profiles
  2. Select the Profile for the user with the error message
  3. Select Object Settings
  4. Select Documents
  5. Select Edit to edit the options
  6. Check the Delete option & Save

documents delete.png

Additional Information

A temporary document is created when using Word to Email, with Preview to allow preview of the email.  When the email is sent, the temporary file is deleted.  If the user does not have permission to delete documents, then this step fails, and the email is not sent. 

Labels: (1)
Version history
Revision #:
6 of 6
Last update:
‎03-30-2021 01:44 PM
Updated by:
 
Contributors