Drag and drop a new INPUT widget in the design
area to be aligned with the product price INPUT.
Make its width 6.
Select the yes option in the
Read-only area.
Name its label to be Product Name.
Click Create a new variable to open a new page and
define a new variable in the form designer to fetch data from Talend MDM through the
REST API extension.
Enter productName in the Name
field.
Select External API from the Type
list.
Enter
../API/extension/mdmcontext?xpath=Product%2FName&taskId={{taskId}}
in the API URL field to retrieve the original value of the product name from
Talend MDM, in
which %2F is the escape character for
/ and taskId is a variable
that represents the unique id of the workflow task created when a process is
launched.
Click Save to save your changes.
On the right panel, in the Value field of the
Product NameINPUT, enter
productName.value.
Change the label of the existing C_product Price INPUT
to be Enter New Price.
Follow the similar procedure to add a new variable
productPrice with the API URL of
../API/extension/mdmcontext?xpath=Product%2FPrice&taskId={{taskId}}
and edit the Value field of the product price
INPUT to be
productPrice.value.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!