Cleaning up federated tags and resources
When federated tags are no longer integrated in HCL WebSphere Portal, you invoke the task com.ibm.wps.cp.tagging.federation.taskhandler.FederationDeletionTaskHandler to remove unnecessary data. The following example XML script triggerDeleteTask.xml shows how you schedule the task to cleanup federated tags:
<?xml version="1.0" encoding="UTF-8"?> <request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd"> <portal action="locate"> <task action="create" name="com.ibm.wps.cp.tagging.federation.taskhandler.FederationDeletionTaskHandler"/> </portal></request>Notes:
- As this example does not explicitly define a schedule, the task is performed immediately.
- We can also select and specify the HCL Connections features for which we want the cleanup to be run. For details about selecting features see the topic about Import federated tags and resources.
Parent topic: Administering tag federation
References: