cancel
Showing results for 
Search instead for 
Did you mean: 

How can reuse UDF (in Message Mapping) across the namespace

Former Member
0 Kudos

Dear Expert,

We have a problem in our site, we have interface about 34 scenarios and all scenarios are separated by namespace. and we would like to copy UDF from namespace A to namespace B (reuse it: Because of same code)

when we try to copy the system error = "java.lang.NullPointerException: null"

so what can we do (no need to create new UDF for all scenarios)

Best Regards,

Atom

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thx

Shabarish_Nair
Active Contributor
0 Kudos

if you are in PI 7.1, you can use the function library and create your UDFs in it.

These are then accessible across mappings.

if your server is below 7.1, then use the option as mentioned in this post -

former_member181962
Active Contributor
0 Kudos

Hi,

What version of PI are you on?

If you are on 7.1 then you can make use of Function Libraries concept.

If you are on a lesser version, then probably create a mapping template with a UDF in it and re-use the mapping template.

Thanks and Regards,

ravi