Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

Action to open URL in AJAX

Hi All,

i am trying to get a button to work to open up a PDF that is stored on the server. the button works when using the IE plugin but not in AJAX (using CHROME or FIREFOX). does anyone know if there is a work around or is this just something that doesnt work in AJAX?

i have tried OPEN URL and LAUNCH.

many thanks

1 Solution

Accepted Solutions
martinpohl
Partner - Master
Partner - Master

it seems that there are diffenrent behavior betweeb client/plugin and AJAX.

I've found a solution, never tested before:

1- QMC > System > Setup > Qlikview webserver > web > Root folders
2- Click the green “+” button
3- Add a virtual folder name and then the path of the folder in which the files are stored
4- In the QlikView application, add a button object
5- Properties > Actions > Add action
6- Select the "Open URL" action
7- The URL must be " HTTP://<hostname>/<name of the virtual folder>/<file name with extension>
ex. http://Coolservername/tempfolder/sales of 2012.pdf.

Regards

View solution in original post

9 Replies
adamdavi3s
Master
Master

Hi Chris,

I am getting the same behaviour with QV12 and Chrome.

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Hi Adam, i thought i read somewhere that some security settings can be changed in Chrome that will fix it but i can't seem to find the settings i need to change.

i was hoping that someone could point me in the right direction or tell me if it just doesn't work in AJAX

Anil_Babu_Samineni

Are you sure, Does Button is working over there in IE. Try to share application. You just added simple button or anything else. Hope this is not a bug.

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
martinpohl
Partner - Master
Partner - Master

it seems that there are diffenrent behavior betweeb client/plugin and AJAX.

I've found a solution, never tested before:

1- QMC > System > Setup > Qlikview webserver > web > Root folders
2- Click the green “+” button
3- Add a virtual folder name and then the path of the folder in which the files are stored
4- In the QlikView application, add a button object
5- Properties > Actions > Add action
6- Select the "Open URL" action
7- The URL must be " HTTP://<hostname>/<name of the virtual folder>/<file name with extension>
ex. http://Coolservername/tempfolder/sales of 2012.pdf.

Regards

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Hi, its just a simple button with the action of open URL with the UNC path of the PDF on the server.

yes it works in IE Plugin.

this is using V11.2 SR 15

adamdavi3s
Master
Master

I've tried various paths and OPEN URL is not the answer, if you look at the paths it is trying to open it isn't going to work AFAIK!

I've tried many different path formats

Launch application is probably the better option, if there is a combination of settings to make that work!

adamdavi3s
Master
Master

I'm pretty sure this is a limitation of AJAX (Webview is the same) I've always used plugin until recently so hadn't come across this issue either

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

thats great, thanks Martin, this worked for me.

adamdavi3s
Master
Master

Genius