Update Asset Files in Managed Packages

You can update and publish existing asset files in managed packages. For instance, when you improve the image quality of a logo or update product images, your subscribers get the updated asset files automatically. Managed packages offer you more control over asset files. Although you can update an asset file and its associated documents in the developer org, they can’t be modified or deleted from a subscriber org.

Where: This change applies to Lightning Experience and all versions of the Salesforce app in Professional, Enterprise, Performance, and Unlimited editions.

How: You can update or add asset files to a managed package from Setup.

In a release-managed or a beta-managed package, users can delete content assets in the developer org, but not in subscriber orgs. In a release-managed package, you can upload a new version of a document or asset to the developer org, but not to a subscriber org.

Managed packages do not support updates to existing shares of asset files using ContentDocumentLink. Both developers and subscribers can add new shares or update existing shares in their orgs.

When an asset file is part of a managed package, the underlying file associated with the asset file can’t be updated or deleted. This behavior is true regardless of whether the asset file is referenced anywhere.