Migrating V6.2 custom widgets to V8.0.1

If you want to use custom Process Portal widgets developed for V6.2 in IBM® Business Process Manager Advanced V8.0.1 , you must migrate them.

Before you begin

The migration documentation assumes that you have experience in developing iWidgets for IBM Business Process Manager Advanced V6.2. See the V6.2 documentation at http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic/com.ibm.bspace.620.help.devt.doc/concepts/business_space_devt/coverview.html.

Procedure

  1. Migrate the profile containing the custom widgets.
  2. Uninstall the custom widget EAR.
    Note: The instance of the IBM Dojo Toolkit is based on V1.6.1 of the Dojo toolkit. However, this bundled version might be updated as needed over time. This might include entire new Dojo versions and specific defect fixes. Compatibility of future Dojo versions is defined by the Dojo project.
  3. 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.
    IBM Business Process Manager Advanced iWidget specification version
    6.2 1.0.5
    8.x 2.1
    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.
  4. To package the widgets:
    1. Create an ear directory. Copy the .ear files containing the migrated widget definition files and widget implementation files into the ear directory.
    2. Create a catalog directory and copy the catalog XML (widget registration) files into it.
    3. Create an endpoints directory and copy the endpoint registration files into it if there are any endpoint registration files.
    4. Create a help directory and copy the help plug-ins into it if there are any help plug-ins.
    5. 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\*
  5. At a command prompt, change directories to the profile_root/bin or cluster_root/bin directory.
  6. 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}
    • For a clustered environment:
      • Jython command:
        AdminTask.updateBusinessSpaceWidgets('{-clusterName cluster -widgets fullpath}')
      • Jacl command:
        $AdminTask updateBusinessSpaceWidgets {-clusterName cluster -widgets fullpath}
    Fullpath is the name and location of the .zip file or parent folder you created.

    For more information on updateBusinessSpaceWidgets, see updateBusinessSpaceWidgets command: Click this link to go to the topic for IBM Business Process Manager. (Opens in a new window.) Click this link to go to the topic for IBM Business Process Manager for z/OS. (Opens in a new window.) .

  7. Enter Exit to complete the migration.
  8. Restart the server or cluster.