You are here:
Types of CMS Content
Every CMS workspace comes with standard content types. You can also create custom content types for your specific needs, like blog posts or product announcements. To create custom content types, use the Managed Content API or CMS Content Type Manager in AppExchange.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
Standard Content Types
Create and manage your CMS content from your CMS workspace or your enhanced CMS workspace.
| Type | Description | Good For... | Considerations... |
|---|---|---|---|
| Document | Upload a rich media file, or link to an external URL. Files can be up to 2 GB. In a marketing workspace, you can add a DOC, DOCX, XLS, XLSX, PPT, PPTX, or PDF file up to 100 MB. |
Providing long form documents or presentations that are visible to all users in your site, including visitors to your site who aren’t logged in. For example, a brochure. |
To use the Document content type in Aura and LWR sites, you must customize the component. For example, to preview or download file-based content types, customize the component to link the Source field to the file. |
| Image | Upload a media file or link to a trusted external URL. You can add an AVIF, BMP, DWG, GIF, JPG, JPEG, PNG, PSD, SVG, TIFF, WEBP, XMOB, or XPSD file up to 25 MB. For WhatsApp messages in a marketing workspace, you can add a JPEG or PNG file up to 5 MB. See Manage Trusted URLs. Images that were previously stored in Asset Libraries can be found in their CMS workspace. |
Enlivening documents, news articles, and sites with logos, product photos, graphics, or other visuals. To make your content more efficient for visitors who use screen readers and other assistive technologies, you can mark an image as decorative. A decorative image doesn't require an alt tag, so the visitor isn't distracted by unnecessary descriptions. Use this option for background images, ornamental icons, and other images that don't contain critical information. |
The preview function is available for image content in a CMS workspace or from a Lightning Experience site page. This limitation applies to CMS Single Item and CMS Collection components. |
| News | Use the rich text editor to create content that supports videos and images. Use image content from your CMS workspace as banner images. |
Providing news articles on your site. |
To add an image to a News item, publish the image first. |
| Audio | Upload a rich media file. You can add an AAC, M4A, MP3, OGG, WAV, or AMR file up to 16 MB. | Enlivening WhatsApp messages with audio content. | Available for use in a marketing workspace with the WhatsApp content type. |
| Video | Upload a rich media file. You can add an ASF, AVI, M4V, MOV, MP4, MPEG, OGV, 3GPP, or 3GPP2 file up to 16 MB. | Enlivening WhatsApp messages with video content. | Available for use in a marketing workspace with the WhatsApp content type. |
Custom Content Types
To get more content that suits your business needs, you can create custom content types like blog posts, FAQs, product announcements, and more. You can use CMS Content Type Manager in AppExchange. To create custom content types programmatically with Metadata API and Tooling API, see Create Custom Content Type Sample in CMS Developer Guide.
For custom content types, you can also fill out important date, time, and time zone details, and add links to other sources. Use the ManagedContentType XML component in Metadata API or the ManagedContentType JSON object in Tooling API to set up custom content types that include date, datetime, and URL nodes.
You can have up to 100 active custom content types, in addition to the standard types. To add more custom types, contact Salesforce.
Considerations for CMS Content
- When you create a custom content type, you must also create a content detail page. In Experience Builder, create a new custom page and select CMS Content Page.
- For URL links, make sure that the domain you use is allowlisted by your Salesforce org so that your users can access your content. Learn more about how you can add websites to a CORS allowlist for your org.
- Links or connections to external resources, such as images, can cause alerts about security issues in your site, depending on your Content Security Policy (CSP) settings.
- Review the guidelines for the number of files that you can store in your org. Images and documents don’t count toward content record limits, but they do count toward your org’s storage limit.
- A Content Slug is a friendly name, with no spaces that is added to the base URL of your site. Initially, the slug is based on the title of your content, but doesn’t always match it. You can edit the content slug to adjust the result.

