Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load Web File Dynamically

Hi,

i try to do this; www.domain.com/kurlar.xml

it it possible to define variable or text after lib:// file? Thank You.

[lib://WebFile] & '/kurlar.xml'


Note : WebFile is www.domain.com

3 Replies
thomaslg_wq
Creator III
Creator III

Hi Ali,

You cannot put a variable in a data_connection definition, you could create as many data_connections as needed and use a variable when calling the data_connection but it could be a lot of data_connections to define !

I know a way, maybe there are better ones but still ==> you can do this by disabling the "standard mode" on qlik sense server.

See http://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/LoadData/disable-standard-mode.htm

It means you will not have to use data_connections any more  (but you will still be able to) and ou will be able to use (as in qlikview) relative and network paths to call sources (so even web sources), directly from the script.

Something as : LOAD * FROM D:/Data_Folder/Etc.   or FROM [https://website.com/Etc_Etc]

There is an issue then : anyone that can create an app will be able to call network paths sources that are available  from the qlik sense server.

So it's up to you and your securty policy, maybe there is a way to not aload the qlik sense service user to access some paths, but I am not sure.

BR,

Thomas Le Gall


Anonymous
Not applicable
Author

Thank you

thomaslg_wq
Creator III
Creator III

You're welcome !

Don't forget to close the thread if this solution suits you.

BR,

Thomas Le Gall