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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hiba1
Contributor
Contributor

insert data into sql server

Hello , 

i try to insert data (cities) into sql server .

this is my job :

I extract "countryCode" from sql server table to get the xml cities of evry country from tsoap response .then i load this xml (evrey xml has the countryCode in his name) into my desk.

0683p000009M6Sf.png0683p000009M6Sp.pngsoap message

0683p000009M6Su.pngload xml with their countryCode(dynamic)

whene i execute the job i get this files in my desk:

0683p000009M6Sz.png

then i produce this :

0683p000009M6T4.pngpase xml files and insert data into sql table 

what i want now is to insert the "codeCountry" of all the cities, 

PS:  a country can has many cities .

 

Any help please !! 

Labels (5)
1 Reply
Anonymous
Not applicable

Hello,

A Job links the tFileList and tFileInputXML components.

The file name parameter in the tFileInputXML component is set to:

((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))

And you should use tMap component in your workflow.

 tfilelist (import all xml files )------>tfileinputxml--->tmap---->DBoutput (table).

Let us know if it works.

Best regards

Sabrina