Search Tips   |   Advanced Search

Task refresh-iwidget-definitions

Use this configuration task to refresh iWidget definitions in the portal. This task affects all iWidget definitions that are referenced through absolute HTTP or HTTPS URLs in addition to iWidget definitions that are referenced through WebDAV URIs.

Refreshing an iWidget definition in this context means, reloading the iWidget definition XML files and updating the corresponding iWidget Wrapper portlet clone accordingly. We can run the task in a synchronous or asynchronous manner. If you run this task asynchronously, the configuration task completes immediately after you start a corresponding asynchronous system task. We can use this mode to avoid timeout problems that might occur if there are a high number of iWidget definitions to be refreshed. The completion of the system task is indicated in SystemOut.log.Notes about this task:

Usage: Use this task to refresh iWidget definitions in the portal.

Important: HCL Portal must be running to use this task.

Syntax: Invoke this task as part of the ConfigEngine script as follows:

Mandatory parameters that we can specify through the command line or in wkplc.properties:

Optional parameters specified only through the command line:

Scheduling the refresh-iwidget-definitions task

We can schedule the task refresh-iwidget-definitions by using the following task: com.ibm.portal.services.RefreshIWidgetDefinitionsTask. See XML configuration reference for instructions.