Upgrade SecureAttachment
  • 13 Jul 2022
  • 1 Minute to read
  • Dark
    Light

Upgrade SecureAttachment

  • Dark
    Light

Article summary

BEFORE you upgrade the package

  1. Check that the AuditBatchSize for Attachment and ContentVersion is 10.

    • Navigate to Setup > Custom Code > Custom Metadata Types > Manager.
      audit batch size
  2. Update your DetectionFields for ContentVersion and Attachment.

    • Navigate to Setup > Custom Code > Custom Metadata Types > Manager.
      detection fields

    • ContentVersion: VersionData, FileType, FileExtension, Title, ContentDocumentId

    • Attachment: Body, ContentType, Name, ParentId

NEXT follow the steps below to upgrade your SecureAttachment package

  1. Navigate to the AppExchange from your Salesforce org, or go directly to Blackthorn's Candy Shop listing for Compliance.

  2. Click Get It Now on the AppExchange listing, and follow the install prompts.

  3. Once the upgrade is complete, check the following configurations.

  4. Re-enter API Credentials provided by Blackthorn Compliance Support (contact support if you need them again).
    check credentials

  5. Check that your Remote Site Setting URLs are exactly as follows and active.

    • Navigate to Setup > Security > Remote Site Settings > FilesAPI > Edit.
      edit
  6. Check your SecureAttachment Settings:
    settings detail

You should only have APIs enabled for the credentials that you previously entered. If you entered two API credentials (Images API and Files API) then both APIs should be enabled. If you only entered credentials for Files API, then uncheck the checkbox for Images API.

Congratulations! You have finished upgrading SecureAttachment.