How to reset the Web Content Viewer portlet to its default state
Applies to
HCL Digital Experience v9.5 and higher
Introduction
Resetting the Web Content Viewer portlet restores configuration settings to default values. Removing specific preference keys resolves rendering errors, clears invalid configuration parameters, and restores access to locked settings without deleting the portlet instance from the page. This article describes how to reset the Web Content Viewer portlet to its default state.
Instructions
To reset the Web Content Viewer portlet to its default state, perform the following steps:
Updating the portlet deployment
Updating the portlet deployment restores underlying application binaries, JavaServer Pages (JSPs), and system portlet definitions. Perform these steps if application files or web module configurations are corrupted:
-
Update the portlet from the copy in the
installableAppsfolder.- Log in into the HCL DX as an administrator.
- Navigate to Open applications menu > Administration > Applications > Web Modules.
- Search and select ilwwcm-localrenderingportlet-jsr.war.
- Select the Update Web module icon located to the right of the module name.
-
Select Choose File and open the following file location:
<PortalServer_root>/pzn.ext/portlet.localrendering.jsr/localrendering.war/installableApps/ilwwcm-localrenderingportlet-jsr.war -
Select Next, review the selection, and then select Finish.
-
Run the
update-wcmConfigEngine task.- Open a command prompt or terminal session.
-
Navigate to the
<wp_profile_root>/ConfigEnginedirectory:-
Linux or UNIX:
cd <wp_profile_root>/ConfigEngine -
Windows:
cd <wp_profile_root>\ConfigEngine
-
-
Run the
update-wcmConfigEngine task:-
Linux or UNIX:
./ConfigEngine.sh update-wcm -
Windows:
ConfigEngine.bat update-wcm
-
-
Creating a copy or clone of the portlet and placed the copy on a page.
- Log in into the HCL DX as an administrator.
- Navigate to Open applications menu > Administration > Applications > Portlets.
- Locate Web Content Viewer.
- In the Web Content Viewer row, select the Copy portlet icon.
- Enter a unique name for the new portlet copy and click OK.
- Navigate to the target page and enable Edit Mode using the toolbar.
- On the left-side panel, select Add page components and applications.
- In the Applications tab, search for the newly created portlet copy and drag it onto the page layout.
- Disable Edit Mode to save the changes.
Resetting portlet preferences
If updating the portlet deployment does not resolve the issue, collect a full XMLAccess export and database backup, and then perform the following steps:
- Log in into the HCL DX as an administrator.
- Navigate to Open applications menu > Administration > Applications > Portlets.
- Locate Web Content Viewer.
- In the Web Content Viewer row, select the Configure portlet icon.
- Select the Delete preference icon for any of the following preferences that appear:
- SECTION_STATES
- WCM_COMPONENT_IDR
- WCM_CONTENT_CONTEXT_BEHAVIOUR
- WCM_CONTENT_CONTEXT_IDR
- LOCKED_WCM_CONFIG_KEY
- Select OK.