Using Custom XPath Function at Design Time and Run Time

You can use the newly created Custom XPath functions at design time and runtime.

Making Your Custom XPath Function Available at Design Time

    Procedure
  1. Right-click the Custom XPath Function Plug-in project and select Export from the menu. On the Export window, select Plug-in Development > Deployable plug-ins and fragments and click Next.

  2. Select the Install into host Repository radio button on the Deployable plug-ins and fragments screen and click Finish.

    The Custom XPath function plug-in is exported into the TIBCO Business Studio for BusinessWorks instance to use at design time.

  3. You are prompted with the following security warning message. Click Install anyway

  4. Click Restart Now when the following window is displayed.

  5. In TIBCO Business Studio for BusinessWorks, the Custom XPath function is available for use in any activity mapper in a process.

  6. Note: Alternatively, you can install a custom XPath function using the following methods:
    • Right-click the CXF project in the workspace and select Install CXF Project.
    • Use the following command in BWDesign utility:
      system:export -cxf <CXF_Project_Name>

      For more information, see "Using the BWDesign Utility" in TIBCO ActiveMatrix BusinessWorks™ Application Development.

Making Custom XPath Function Available at Runtime

  • After using the Custom XPath function in an activity in a process at design time, include the Custom XPath function plug-in the application project.

  • After including the Custom XPath Function Plug in in the application project, test it in the Debugger and then, export it as an EAR, and deploy at runtime.