Skip to Content
0
Former Member
Dec 10, 2008 at 03:05 PM

How to pass input parameter (parameterized mapping) to java mapping program

1000 Views

Hello

I have a question about the parameterized mapping with Java (PI 7.1).

In the operation mapping (using Java-class) I defined a inputer parameter (string). I think I am supposed to retrieved the value using:

arg0.getInputParameters().getString("myInputParameterName");

where arg0 is the TransformationInput object.

However I am not able to get the value, I got runtime exception saying the inputer parameter doesn't exit.

Then I figured out maybe I need to bind the OM input parameter to Java mapping parameter, just like in case of message mapping, you need to bind OM parameter to MM parameter. However there is no way to define input parameter for the java mapping program.

Anybody has done java mapping with parameterized mapping?

Anybody can give any hint for this?

Thanks

Jayson