Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change Variable in XML command

deiamolina
Contributor
0 Likes
556

Hello,

I created an Simple transformation code and I'm trying to change the PARNR code in this command:

<Product ID="$CONT.PARNR" UserTypeID="ContactName">

It should be:

<Product ID="12345" UserTypeID="ContactName">

Is it possible in Simple Transformation? How can I change it?!

Thanks.

Andréa

1 ACCEPTED SOLUTION
Read only

deiamolina
Contributor
0 Likes
474

Solved:

          <Product UserTypeID="ContactName">

           <tt:attribute name="ID" value-ref="$CUST.CUST_ID" />

Result:

<Product ID="Cust_A" UserTypeID="ContactName">



1 REPLY 1
Read only

deiamolina
Contributor
0 Likes
475

Solved:

          <Product UserTypeID="ContactName">

           <tt:attribute name="ID" value-ref="$CUST.CUST_ID" />

Result:

<Product ID="Cust_A" UserTypeID="ContactName">