IBM BPM, V8.0.1, All platforms > Administer the IT infrastructure > Administer Process Portal > Administer Process Portal spaces > Remove widgets

Disabling widgets in Process Portal spaces

You can disable a widget by unregistering it. An unregistered widget is no longer available to users.

Related widgets are grouped into a catalog. To disable a widget, you edit its definition in the catalog XML file and then update the space. Disabling the widget prevents it from displaying on the widget palette and on pages while maintaining the code.

Disabling the widget instead of uninstalling it allows the product to update the widget with enhancements and fixes so that it is at the correct level if you enable it again. If the product changes the catalog containing the widget, you might have to re-disable the widget.


Procedure

  1. Navigate to the profile_root/BusinessSpace/ node_name/ server_name/widgets/installs. timestamp directory and open the catalog file containing the widget definition.

    Tip: Save a copy of the file as a backup.

  2. Comment out the catalog entry (from <entry> to </entry>) for the widget you want to disable. Ensure the file is still a valid XML file after the change.
  3. Save the edited catalog file to an empty directory. The name of the file must be catalog_ name.xml where name can be any name.

  4. At a command prompt, change directories to the profile_root/bin or cluster_root/bin directory.

  5. Enter wsadmin.bat -conntype NONE and then enter the appropriate command:

    fullpath is the path to the directory containing the edited catalog file.

    For information on updateBusinessSpaceWidgets, see updateBusinessSpaceWidgets command: .

  6. Enter Exit.

  7. To see the changes in the browser, logout of the space, clear the cache in the browser, and then log in again.

Remove widgets from Process Portal spaces


Related tasks:
Uninstalling custom widgets individually from Process Portal spaces
Uninstalling custom widgets and catalogs in Process Portal spaces