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: 
Anonymous
Not applicable

global variables from XML

All,

 

I have a requirement to read database details from XML file, i was able to create the parameters, but while running the job i'm getting string cannot be resolved to a variable0683p000009M8Pb.jpg

Labels (3)
1 Reply
vapukov
Master II
Master II

Hi,

 

possible you try to access variable by a wrong way

to retrieve stored variable you need to use (Type)globalMap.get("VariableName"),

as an example:

(String)globalMap.get("db_host_name")
(Integer)globalMap.get("db_port")

possible you just use a variable name.

 

regards, Vlad