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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jacco_De_Zwart
Creator
Creator

tXMLMap doesn't seem to loop (??)

Hi there,

I have created a tRestClient call to an API server. The call works fine and it returns a result as expected. But when I look at the Body of the response, it is filled with data.

When I pass the response to the tXMLMap component to extract the individual fields, I only get one result-row.

Why do I get just one result row ?

The Job looks like this :

0695b00000RizaaAAB.png

The tRestClient is configured like this and works :

0695b00000RizakAAB.png

The tXMLMap component looks like this :

0695b00000Rizb4AAB.png

This is the execution result :

What dit0695b00000RizbdAAB.png

What did I miss ?

Thanks in advance.

Jacco

Labels (4)
1 Solution

Accepted Solutions
SMR040
Contributor III
Contributor III

Are you trying to output it as a normal field or as a xml/json? If you want the output as a field you might be better of with a tExtractJSONFields where you should set the loop correctly.

 

If you are trying to output it as xml/json then you should create a document structure on the output side of the tXMLMap.

View solution in original post

3 Replies
SMR040
Contributor III
Contributor III

Are you trying to output it as a normal field or as a xml/json? If you want the output as a field you might be better of with a tExtractJSONFields where you should set the loop correctly.

 

If you are trying to output it as xml/json then you should create a document structure on the output side of the tXMLMap.

Jacco_De_Zwart
Creator
Creator
Author

@S M​ 

​ thanks for the advice !! It works ! Was a bit hard to work it out, but I managed to succeed.

 

Thanks again !

SMR040
Contributor III
Contributor III

You are welcome!

 

Greetings from cimt 😉