How to add custom xpath function to xpath formula builder?
book
Article ID: KB0093536
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Description: Need to add a custom folder "Utility" and xpath functions under the folder in xpath formula builder. How to add the Utility folder?
Issue/Introduction
How to add custom xpath function to xpath formula builder?
Resolution
You need to use the BW Java Custom Function activity. Refer to the BW Palette Reference -> chapter 7 Java Palette for more details. After you create and compile the Java code, you can use the Java Custom Function palette to load the class. Set the Suggested Prefix field to "Utility". All Java methods defined in your code will appear in XPath builder.