Task refresh-page-layout | HCL Digital Experience
Use this configuration task to refresh the page layout for all pages assigned a given page layout template.
Description: You need to run this task if you have manually modified page layout template files stored in the folder layout-templates of the portal file store and you want those changes to be reflected on existing pages. The task reads the data of a specific page layout template from the portal file store and update all pages that are currently assigned that page template accordingly. Depending on the number of page affected, this task can run for a several minutes.
Assumptions/Prerequisites: HCL Portal is running. The execution of this task requires that the portal is running. If the portal is not running, the task starts the portal.
/fs-type1/themes/Portal8.5/layout-templates/
/
).- Create a Job Control Language (JCL) script to run the configuration task
- Open a UNIX System Services (USS) command prompt or use a Telnet client to connect to the portal server and run the configuration task
- For UNIX™Linux™:
./ConfigEngine.sh refresh-page-layout-template
- For IBM® i: From the UserData
directory:
ConfigEngine.sh refresh-page-layout-template
- For Windows™:
ConfigEngine.bat refresh-page-layout-template
- For z/OS®:
ConfigEngine.sh refresh-page-layout-template
- WasUserid The WebSphere® Application Server user ID
- WasPassword The WebSphere® Application Server password
- PortalAdminId The portal administrator user ID
- PortalAdminPwd The portal administrator password
- PageLayoutTemplate The file
store URI of the page layout templateNote: Make sure to provide the full URI here, especially if the URI has a trailing slash (
/
).
- VirtualPortalContext or VirtualPortalHost Use this parameter to identify the virtual portal. Only pages contained in the specified virtual portal are refreshed. If you omit this parameter, by default no virtual portal page layout is refreshed.
- Synchronous (=true) Use this
parameter to specify the execution mode. The default is
synchronous
. If you want to run this task in asynchronous manner, specify false .
./ConfigEngine.sh refresh-page-layout-template
-DPageLayoutTemplate=dav:fs-type1/layout-templates/2Columnequal/
-DVirtualPortalContext=virtual_portal_context_url