Avoiding Content Limits with the Asset Library
If you’re running into Content Delivery Limits, you can reduce those limits by storing and sharing images through the Salesforce Files Asset Library instead of CRM Content.
Why Use the Asset Library
Files in the Salesforce Asset Library do not count toward CRM Content Delivery Limits. This makes them especially useful for storing and sharing assets you use frequently, such as:
- Header and footer images for TargetX Email and Communication Planner
- Branding graphics reused in multiple templates
- Images displayed in the TargetX Portal
By linking to images in the Asset Library rather than uploading them directly, you conserve your organization’s content quota and simplify file management.
Enabling Public Asset Sharing
To share Salesforce Assets externally (for example, in an email or portal template), you’ll need to enable public link sharing in Salesforce.
Follow Salesforce’s official setup guide, Enable Public Linking on an Asset File.
Once enabled, administrators of the Asset Library can create a public link for any file. This link makes the image shareable outside of Salesforce.
Creating a Public Link for an Asset
After enabling Public Asset sharing in Salesforce, follow these steps to create a public link for an asset:
Step 1: Open the Asset in Salesforce
- Go to the Salesforce Files tab or your Asset Library.
- Find and click the file you want to use in TargetX.
Step 2: Open the Sharing / Public Link Options
- On the file detail page, look for the Share or Public Link option (this may appear as a button or in an action menu, depending on your org’s setup).
- Click it to open the sharing dialog.

Step 3: Generate and Copy the Public Link
- Refer to the Salesforce article Enable Public Linking on an Asset File to create a public link and mark the file as an asset.
- Modify your email template to ensure unauthenticated users can retrieve the image from the following URL:
- If My Domain is not enabled: https://<instance>.salesforce.com/file-asset-public/<asset_name>?oid=<organization_Id>
- If My Domain is enabled: https://<my_domain>.my.salesforce.com/file-asset-public/<asset_name>?oid=<organization_Id>
- For more information, see Use Asset Files in email templates instead of Document records.
- You can locate the needed details from the Developer Console:
- Click Query Editor in the bottom of the window.
- Enter the following: SELECT Id, DeveloperName, ContentDocumentId
FROM ContentAsset - Click Execute
- Once you have the new URL, add it to the image builder’s URL input. Confirm you can see the image.
- Note: if the image is not visible, it may be due to an incorrect name.

- You can then embed this URL wherever an image URL is supported in TargetX to display the Asset without affecting CRM Content Delivery Limits.
- Note: using the Developer name, referenced above, is the most reliable way to retrieve the correct file. A file’s Asset Name/File Name may not match its Developer name. To confirm the correct asset name, use the Developer Name from the
ContentAssetobject.
- Note: using the Developer name, referenced above, is the most reliable way to retrieve the correct file. A file’s Asset Name/File Name may not match its Developer name. To confirm the correct asset name, use the Developer Name from the
Using Asset Links in TargetX
After generating a public link for an Asset:
- Copy the public file URL provided by Salesforce.
- Paste the link into your TargetX email template, Communication Planner message, or portal page where the image should appear.
- The image will display normally in your communications, without contributing to CRM Content Delivery usage.
