ManagedTopics is the site-scoped container for navigational and featured topics in an Experience Cloud site. It controls topic hierarchy and placement in the Topics menu, subtopic lists, and featured-topic presentation on the home page.
The metadata component is identified by the site name, not an individual topic name. Individual topic definitions are entries inside the container, so selecting a ManagedTopics component for deployment or retrieval means selecting the site's topic configuration.
Key Elements
These fields belong to individual topic entries within the ManagedTopics container.
| Element | What the Element Controls |
|---|---|
name |
The topic name. A child topic's parentName identifies its parent using this name. |
managedTopicType |
Accepts the exact strings Navigational or Featured. Determines whether the topic supports a parent-child relationship and where its position applies. |
parentName |
The parent topic's name. Only navigational topics support parent-child relationships. The relationship affects both subtopic display and feed aggregation. |
position |
An integer from 0 through 24. Orders top-level navigational topics in the Topics menu, child navigational topics among siblings, or featured-topic thumbnails on the home page. |
topicDescription |
An optional description of the topic's contents. Accessible only through the API; there is no equivalent field in the user interface. |
Behavior and Constraints
managedTopicType determines how hierarchy and ordering work. Only Navigational topics support parents and children. Set parentName to the parent topic's name, not a record ID.
A child topic appears in the subtopics section of its parent topic page, and its feed is added to the parent topic feed. Changing the hierarchy therefore changes content aggregation as well as navigation.
The meaning of position depends on the entry:
- Top-level navigational topic: its order in the site's Topics menu.
- Child navigational topic: its order among siblings in the parent's subtopics section.
- Featured topic: the order of its thumbnail image on the site home page.
Positions are display ordering, not execution ordering. The permitted range is 0 through 24, and the maximum number of navigational or featured topics is 25.
A review in the user interface does not expose all descriptive configuration. Because topicDescription is API-only, inspect the metadata when comparing topic descriptions between environments.
Deployment and Retrieval
The related Experience Cloud site must exist before managed topics are deployed. Whole-org deployment handles this prerequisite automatically.
Components use the .managedTopics suffix and reside in the managedTopics folder. Each site has a separate file, such as managedTopics/SiteNameA.managedTopics or managedTopics/SiteNameB.managedTopics.
In package.xml, set the metadata type's name to ManagedTopics and its members value to the site name. For example, SiteName selects the managed-topic container for that site; it does not select a topic named SiteName.
The manifest supports the wildcard *. Using it as the members value for ManagedTopics selects managed-topic containers for all sites for retrieval or deployment.
Deploying the topic configuration alone does not migrate topic images. Managed topic images are stored as asset files and must be migrated separately using ContentAsset.
Relationships
The site name associates the component with its Experience Cloud site. Topic images are separate ContentAsset components. The incoming element references below target the managed-topic container as a whole; they do not mean that topic entries are contained within the referencing types.
Referenced By
-
Audience:container -
NavigationMenu:container
Common Questions
Do I use the site name or topic name in a ManagedTopics manifest?
Use the site name as the members value under ManagedTopics. Individual topics are entries inside that site's container.
What must exist before I deploy ManagedTopics?
The related Experience Cloud site must already exist. Whole-org deployment handles this prerequisite automatically.
Why are topic images missing after migrating ManagedTopics?
The topic configuration does not include the image assets. Migrate the managed topic images separately with ContentAsset.
Can a featured topic have a parent topic?
Only Navigational topics support parent-child relationships. For Featured topics, position controls thumbnail ordering on the site home page.
Why can't I find topicDescription in the Salesforce user interface?
topicDescription is accessible only through the API and has no equivalent user-interface field. Inspect the metadata to review its value.