on 11-16-2007 4:50 AM
consider i have a user defined function..which has been used for onr interface...
but i want the same to be used for the different interface which is in the same namespace or the other name space or other Software componenet version...
How can it be done....
To add
As of now,UDF is limited to Graphical Mapping that you created that cannot be reused in any other Mapping.This functionality is supposed to be coming in PI 7.1, more easily than deploying a jar file to file system which makes it posible to write a UDF and reuse in any MM.
No blog as per my knowledge but If at all you want to do something like this :
Create a java class with the method that you need to reuse
Create a JAR file for the java class
Import it into the Imported Archives
Use import statement like normal java program in your UDF and access the particular method in the code
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
No the feature is not available till Pi7.0
in PI7.1, function library will be introduced. UDF are saved in local function library belonging to a mapping object. To use a user defined function in more than one message mapping or mapping template you can create the user defined functions in function libraries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
A UDF can be used only in the same namespace where it has been defined.
If you want to do so what you have mentioned, create a jar of the Java program/class and use it in Imported archives wherever you want.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no it is not possible to reuse UDF ..not even if your interface is in same namespace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.