Disabling and enabling commands and views in preview
The commands and views disabled in preview are determined by the preview exclusion file. Initially, this file is empty, meaning that all commands and views are enabled in preview.
Procedure
-
Disable a command or view in preview
-
Enable a command or view in preview
- Copy the following file to a temporary location:
- WC_eardir/xml/config/previewExclusion.xml
This file should never be directly modified. For more information, refer to XML configuration directory.
- Open the temporary copy of the file in a text editor.
- Remove the commands that you want to enable in preview.
- Save the preview exclusion file.
- Update WebSphere Commerce with the updated file. For more information, see the Updating enterprise application files topic. Ensure that you follow the instructions for updating a
single file.
You will need the following information:
- Enterprise application name
- WC_enterpise_application
- Relative path to file
- xml/config/previewExclusion.xml
- Open the Administration Console.
- Click .
- Select Preview Command Exclusion and click Refresh. You do not need to restart the WebSphere Commerce Server.
- Copy the following file to a temporary location: