+

Search Tips   |   Advanced Search

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

  1. Click Edit Mode on the selected page. The Page properties portlet appears on the Overvew tab.

  2. Select the Page Properties section and click Edit.

  3. Click Advanced.

  4. 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.

  5. Click Add.

  6. Click Save.


WebDAV

  1. Connect to WebDAV for the page where to set the profile override.

  2. Download the metadata.properties file that displays for the page to the local system.

  3. Open the metadata.properties file on the local system.

  4. 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
    

  5. Save the file.

  6. Upload the file back to WebDAV.


XMLAccess

  1. Export the page to set the profile override on, we can use the command line or the Manage Pages portlet.

  2. 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">
    

  3. 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">
    

  4. Import the XML file using the command line or use the XML Import portlet.