Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning all !
Someone know how can I insert the content of a text file into a variable in the script ?
Thanks a lot
Hi Victor,
It is same as declaring a Variable inside your script.
Write
Let vTest = 'Test Load';
inside your text file.
Now Gp to your Dashboard -> Edit Script -> Insert -> Include Statement -> Then select the Text File just created.
Load the Dashboard and see the Variable is created inside your dashboard.
Thanks.
Amar
Hi Victor,
It is same as declaring a Variable inside your script.
Write
Let vTest = 'Test Load';
inside your text file.
Now Gp to your Dashboard -> Edit Script -> Insert -> Include Statement -> Then select the Text File just created.
Load the Dashboard and see the Variable is created inside your dashboard.
Thanks.
Amar
Hi !
I does not work, I've got an error on the line :
tab2 = $(Include=c:\users\vboudart\desktop\modeli\appli\textfile.txt);
The content of my text file is like this : France,Belgium,USA, .....................
Ok, I have add ' like this ;
LET tab = '$(Include=c:\users\vboudart\desktop\modeli\appli\textfile.txt)';
and it's work.
Thanks
Victor