cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping contexts

Former Member
0 Kudos

Hi experts,

I'm trying to map 2 structures with different context. This structures are the same except for the context.

I'm trying to do exactly what a copyvalue does but using an Argument instead a Parameter.

Do you know any standar or UDF way of achievieng that?

Regards

Gonzalo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I'm trying with:

public void getValue(String[] Campo, int[] Index, ResultList result, Container container) throws StreamTransformationException{

int indice = Index[0];
if(Campo.length>indice && Campo[indice-1]!=null)
  result.addValue(Campo[indice-1]);
else
  result.addValue("Error");
}

But that doesn't work.