BusinessWork Workflow 5.1.0 hotfix3 has fixed the following defect (1-30L7NF) - There is no mechanism to delete pages and portlet subscriptions from workflow desktop model created in TIBCO Administrator.
book
Article ID: KB0087334
calendar_today
Updated On:
Products
Versions
TIBCO BusinessWorks Workflow
-
Not Applicable
-
Description
Description: Following are the changes made in BWWF hotfix3 to add this enhancement.
There are three Ant tasks available for deleting page folders, pages and subscription during deployment process.
Following describes the usage of these three tasks: 1. <deletePageFolder> task - user need to specify the page folder name: - name - the name of page folder to be removed. This task will be the child of <CreatePageFolder> task. It will delete the page folder from parent page folder. All the children under the specified page folder will be deleted together. Following is the example to remove "Jobs" page folder and it's child pages : <deletePageFolder name="${JOBS_PAGE_FOLDER_NAME}"/>
2. <deletePortletPage> task, user need to specify the page folder name: - name : the name of page to be removed. This task will be the child of <CreatePageFolder> task. It will delete the page from parent page folder. Following is the example to remove "Home2" page.. <deletePortletPage name="${HOME2_PAGE}"/>
3. <unsubscribePortletOnCommonPage> task, following attributes need to be specified: - portletItemRelativePath: the portlet path you want to unsubscribe. - isRootRole="ture": if you want to unsubscribe from all authenticated users. - isGuestRole="true": if you want to unsubscribe from guest users. - paneName : the name of pane you want to remove the subscription from This task will be the child of <CreatePortletPage> task. It will remove the specified portlet subscription from the specified pane. Following is the example to remove "Documentation And Help" portlet from pane1. <unsubscribePortletOnCommonPage isRootRole="true" portletItemRelativePath="/site/${TOP_LEVEL_PORTLET_ITEM_FOLDER}/${DOCUMENTATION_AND_HELP_PORTLET_NAME}" paneName="${PANE1_NAME}"/>
To use the above ANT tasks, do the following: 1. Update the file bui_config.xml under bwworkflow/5.1/bui/config directory to add the above sections. 2. Undeploy the workflow desktop application,in which you want to affect the changes, using TIBCO Administrator. 3. Redeploy the workflow desktop application using TIBCO Administrator.
If you want to recreate a portlet page or portlet page folder after deleting the existing one, make sure to add the delete section using one of the above task before the create section.
An item once deleted using the above tasks cannot be retrived back. In most cases, it is not needed to delete a page folder or page or unsubscribe a portlet on a page unless workflow desktop has been customized.
Attached is a sample bui_config.xml that use the above tasks.
Issue/Introduction
BusinessWork Workflow 5.1.0 hotfix3 has fixed the following defect (1-30L7NF) - There is no mechanism to delete pages and portlet subscriptions from workflow desktop model created in TIBCO Administrator.
Attachments
BusinessWork Workflow 5.1.0 hotfix3 has fixed the following defect (1-30L7NF) - There is no mechanism to delete pages and portlet subscriptions from workflow desktop model created in TIBCO Administrator.
get_app