Specify profiles with metadata
Profiles specify which modules are loaded on a page, and whether they are deferred to after a page loads. The list of modules is determined by:
- If a profile path exists, it is obtained from the page metadata...
- If no profile is set on the page the default profile is defined loading all files in the folder defined by theme metadata...
resourceaggregation.profiles.default
- If theme metadata is not defined, the systems scan the following folder for...
profiles/default
Only profile.json files are allowed in these folders.
The profile format
The profile files must be valid JSON files. The following sample shows the properties:
{ "moduleIDs" : ["moduleID_1", "moduleID_2", "moduleID_3"], "titles": [{ "value": "title_en", "lang": "en" }, { "value": "title_de", "lang": "de" }], "descriptions": [{ "value": "desc_en", "lang": "en" }, { "value": "desc_de", "lang": "de" }] }
Parent Specify profiles