Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Variable Path for load script

Hi All,

I want to know if its possible to have an INPUT BOX with a variable path value that I can use in the load script. What I want to accomplish is to have an Inputbox where user can have the ability to change the file name and path. Instead they have to change in the load script. For example:  I want input box to replace below " ".

LOAD *
FROM

(
ooxml, embedded labels, table is [sheet1]);

Many Thanks,

Frank

1 Solution

Accepted Solutions
sunny_talwar

Yes you can. Create a variable, say vPath

vPath = H:\user1\abc.xlsx

LOAD *

FROM

[$(vPath)]

(ooxml, embedded labels, table is [sheet1]);

View solution in original post

11 Replies
sunny_talwar

Yes you can. Create a variable, say vPath

vPath = H:\user1\abc.xlsx

LOAD *

FROM

[$(vPath)]

(ooxml, embedded labels, table is [sheet1]);

tamilarasu
Champion
Champion

Hi Frank,

Check the attachment and let me know.

Anonymous
Not applicable
Author

It's works. Thank You Sunny!

Anonymous
Not applicable
Author

Thanks Tamil. Your suggestion works as well..

qlikpahadi07
Specialist
Specialist

Hi Fanko1225

Above solution from Sunny will work from Developer machine but correct me if I am wrong. you need to

"have an Inputbox where user can have the ability to change the file name "

For This I assume you might want to provide this flexibility to Business Users on Access point if yes then it will not work. but for any developer " yes it will work".

Might be Helpful

tamilarasu
Champion
Champion

Check my solution for business users as well as developers.

qlikpahadi07
Specialist
Specialist

I don't think for Business users through access point your will work.

tamilarasu
Champion
Champion

I have not tested in access point.

qlikpahadi07
Specialist
Specialist

As per my knowledge It will not work as  Qlik Architecture. that is a reason I highlighted