Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Sven1982
Contributor
Contributor

Enter a Array variable into tXMLMap for tRESTClient

Dear Community,

I use a REST client in my model.

These client requireds a Body part which I can create with the tXMLMap Element.

0693p000008vF0OAAU.png

One variable of the REST API can be the variable codes, which is an Array in the folling format:

0693p000008vEzzAAE.png

My tXMLMap works fine as Input for the REST AP, without the varible codes!

but when I try to add the additionale variable codes I get in trouble with the format because I dont know

how I can create the array from various strings.

0693p000008vF0EAAU.png

As example: my array input has to based on the following strings:

  • codes1.name
  • codes1.number
  • codes2.name ....

These strings I have to use to generate the array and set it as input in my body element..

My question is now, how do I can generate the array in the right format and connect afterwards to the tXMLMap?

I hope somebody can give me a hint to solve my problem

thanks in advance

br

Sven

Labels (5)
0 Replies