function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SweetBoxSweetBox 

How to tell if the Document/Attachment feature is enabled for a Salesforce user.

I have an application that automatically saves email attachments.  At startup is there a method to determine if the document/attachment feature is available for the Salesforce customer?
DevAngelDevAngel

Hi SweetBox,

I suppose you can do a describe on document and attachment.  If the user can describe the document or attachment then you can check the access for each to determine the availability.