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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create one file for each database result. Suggestions

Hi,


What I have to do:
Get all records from my database table "CFE".
Create a file for each of the results of my table.
The name of each file will be different, it is composed of two variables that are obtained from the row of the query.
The file is an XML, so I need a tMap component to organize the data output.

In this example, it is not included, but you may need to have different XML structures, just add another tMap output.

I created an example without the connection to the database, so you can try it. Attached.

I would like to know if there is any way to make it easier or if I am commenting on a design error.

 

0683p000009LxVo.png

 

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi 

I just have a small question about your data, are TipoCFE+CFEId unique key in each record? Does it exist several records with the same ipoCFE+CFEId? if yes, the generated file will be overwritten by the new record.

 

Regards

Shong