Adding or removing a module from a profile
To add or remove a module, update the profile that is used to render a page for the theme.
Read the topics on profiles and modules Working with profiles and Writing modules.
-
Open the profile file in the /profiles directory.
-
Make a copy of the profile file and give your copy a unique name.
-
Edit the .json file by adding or removing the specific module ID.
-
Copy the profile that you created to the /profiles directory.
-
Invalidate the resource aggregator cache to integrate your changes. Click the Administration menu icon. Then, click Portal Analysis > Theme Analyzer. Then, click Utilities > Control Center > Invalidate cache. Auto-invalidation recognizes your changes automatically for WebDAV-based themes. No further action is required. For more information, see Utilities.
HCLSoftware U learning materials
To learn how to further develop WebDAV-based DX themes, go to the Theme Development lesson in the HCL Digital Experience for Developers (Intermediate) course. You can try it out using the Theme Development Lab and corresponding Theme Development Lab Resources.