Migrating V6.2 custom widgets to V21.0.3
If you want to use custom Heritage Process Portal widgets that were developed for V6.2 in IBM® Business Process Manager Advanced V21.0.3, you must migrate them. Support for custom iWidgets was deprecated in V8.5.0.
Before you begin
Procedure
- Migrate the profile that contains the custom widgets.
- Uninstall the custom widget EAR. Important: Your V6.2 widgets might use Dojo. The instance of the IBM Dojo Toolkit that is used by widgets in Business Automation Workflow V21.0.3 is based on V1.6.1 of the Dojo toolkit. However, this bundled version might be updated as needed over time. Updates might include entire new Dojo versions and specific defect fixes. Compatibility of future Dojo versions is defined by the Dojo project.
- Update the code in your widget if the upgrade to the iWidget
specification impacts your widgets. The following table shows the iWidget specification that applies to each version of IBM Business Process Manager Advanced.
You can download V2.1 of the iWidget specification from http://public.dhe.ibm.com/software/dw/lotus/mashups/developer/iwidget-spec-v2.1.pdf. Review the specification for changes and deprecations to see how the upgrade impacts your widgets.IBM Business Process Manager Advanced iWidget specification version 6.2 1.0.5 V21.0.3 2.1 - To package the widgets:
- Create an ear directory. Copy the .ear files that contain the migrated widget definition files and widget implementation files into the ear directory.
- Create a catalog directory and copy the catalog XML (widget registration) files into it.
- Create an endpoints directory and copy the endpoint registration files into it if there are any endpoint registration files.
- Create a help directory and copy the help plug-ins into it if there are any help plug-ins.
- Compress the ear, catalog, endpoints,
and help directories into a .zip file.
Check that the structure of the compressed file contains the following items:
- ear\widgets_name.ear (one or more EAR files)
- catalog\catalog_name.xml
- endpoints\*.xml
- help\eclipse\plugins\*
- At the command line, change directories to the profile_root/bin or cluster_root/bin directory.
- Enter wsadmin.bat -conntype NONE and
then enter the appropriate command:
- For a non-clustered environment:
- Jython command:
AdminTask.updateBusinessSpaceWidgets('{-nodeName node -serverName server -widgets fullpath}') - Jacl command:
$AdminTask updateBusinessSpaceWidgets {-nodeName node -serverName server -widgets fullpath}
- Jython command:
- For a clustered environment:
- Jython command:
AdminTask.updateBusinessSpaceWidgets('{-clusterName cluster -widgets fullpath}') - Jacl command:
$AdminTask updateBusinessSpaceWidgets {-clusterName cluster -widgets fullpath}
- Jython command:
Fullpath is the name and location of the .zip file or parent folder you created.For more information on updateBusinessSpaceWidgets, see updateBusinessSpaceWidgets command.
- For a non-clustered environment:
- Enter Exit to complete the migration.
- Restart the server or cluster.