Content associations reference
Content associations are used to associate web content pages with the web content site structure. When we select a folder to associate with a web content page, a content association is created and maintained within the portal.
Typically, the management of content associations is automatically handled by the portal. However, for situations where to work directly with content associations, several mechanisms are available: xmlaccess.sh, the Portal Scripting Interface, and the REST API for content associations.
- XML configuration interface and content associations
With xmlaccess.sh (xmlaccess command), we can perform batch updates of content associations or export associations to import into another portal. Content association information is represented in the XML configuration schema by content-mapping-info elements.
- Portal Scripting Interface and content associations
With the Portal Scripting Interface, we can create scripts to automate the management of content associations. Using the ContentMapping bean with the Portal Scripting Interface, we can add, modify, and remove content associations.
- REST API and content associations
If we are creating or extending an application and want to manage content associations with that application, use portal remote APIs. These APIs retrieve a list of content associations and then create, update, or delete associations.
Parent Advanced administrative examplesRelated concepts:
Web content associations