Anusha Kumary Posted May 20, 2020 Share Posted May 20, 2020 Can we create custom java function in tibco bw 6 ad refer it in the xpath as it is like built in function. for eg creating java program for replacing the space with empty string and make it as custom function and refer that in xpath as replaceAll() function Link to comment Share on other sites More sharing options...
Richard Lowe 2 Posted May 22, 2020 Share Posted May 22, 2020 Hi Yes, you can. Instructions for creating a custom function are here: https://docs.tibco.com/pub/activematrix_businessworks/6.6.0/doc/html/GUID-33FE3341-BB9B-44DD-A831-FC9ED96E99C1.html And then instructions for using the function in your mapping (XPath) are here: https://docs.tibco.com/pub/activematrix_businessworks/6.6.0/doc/html/GUID-13795D07-F63C-4B27-8A6B-9E620A74BB16.html Thanks Richard Link to comment Share on other sites More sharing options...
Richard Lowe 2 Posted May 22, 2020 Share Posted May 22, 2020 BTW, in the example you gave, does the in-built replace() function also do what you need Link to comment Share on other sites More sharing options...
Anusha Kumary Posted May 22, 2020 Author Share Posted May 22, 2020 Thanks a lot for the information. I will try to create my own custom function. :) replace() is just an example I gave, I just wanted to know whether i can create or not. Regards, Anusha Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now