Set a profile override on a page
We can change the profile for a specific page to define the modules loaded.
Parent: Change the theme profile
Page Properties portlet
- Click Edit Mode on the selected page. The Page properties portlet appears on the Overvew tab.
- Select the Page Properties section and click Edit.
- Click Advanced.
- In the Metadata section, enter a key with the name resourceaggregation.profile and a value pointing to the profile override on the page. For Example: profiles/profile_full.json. For Example: profiles/profile_full.json.
- Click Add.
- Click Save.
WebDAV
- Connect to WebDAV for the page where to set the profile override.
- Download the metadata.properties file that displays for the page to the local system.
- Open the metadata.properties file on the local system.
- Set a parameter with the name resourceaggregation.profile and a value pointing to the location of the profile. For Example:
resourceaggregation.profile=profiles/profile_lightweight.json
- Save the file.
- Upload the file back to WebDAV.
XMLAccess
- Export the page to set the profile override on, we can use the command line or the Manage Pages portlet.
- Open the XML export of the page and find the definition for the page. For Example:
<content-node action="update" active="true" allportletsallowed="true" content-parentref=" Z6_M0000000000000000000000001" create-type="explicit" domain="rel" objectid=" Z6_M000 0000000000000000000002" ordinal="700" themeref="ZJ_MLSU3F5400G000IPJM60CT3GN6" type="staticpage">
- Set a metadata parameter on the page with the name resourceaggregation.profile and a value pointing to the profile. For Example:
<content-node action="update" active="true" allportletsallowed="true" content-parentref=" Z6_M0000000000000000000000001" create-type="explicit" domain="rel" objectid=" Z6_M000 0000000000000000000002" ordinal="700" themeref="ZJ_MLSU3F5400G000IPJM60CT3GN6" type="staticpage">
- Import the XML file using the command line or use the XML Import portlet.