Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Passing parameter and direct url to docs

Hi,

I need to generate and show qlikview apps (AJAX) based on a value inserted in a specially designed web page for this purpose.

So the flow will work by inserting required date for example and click submit, then the qlikview apps will be shown to the user in web browser (AJAX).

I believe this will only work with a license for Qlikview Server. Cause I got Qlikview Server with trial keys that already expired. I'm aware that you can run the server but the documents will not be showing in Access Point. I also got some input from this forum and got this direct url to show the document (films.qvw):

http://test-pc/QvAJAXZfc/AccessPoint.aspx?open=&id=films.qvw&client=Ajax

test-pc is my server machine.

I found 2 entries here that might help me but I'm not sure:

http://community.qlik.com/message/64198#64198 - with QVP protocal instead of http which not recognised by Firefox

http://community.qlik.com/thread/19203 - Javascript example

my question is does anyone have it working and how it was done? and do I need the server license to test it out?

6 Replies
Not applicable

Passing parameter and direct url to docs

so far I can test it with Qlikview's own demo site. Such as

http://demo.qlik.com/QvAJAXZfc/opendoc.htm?document=films.qvw&anonymous=true

for selecting can add 'select=' in the url. for example:

http://demo.qlik.com/QvAJAXZfc/opendoc.htm?document=Films.qvw&anonymous=true&select=LB1464,2002,1999

to select only year 199 and 2002 from year list box in 'More Dimension' tab.

and I just found out that QVP can only be use in IE plugin and desktop app.

Not applicable

Passing parameter and direct url to docs

Hello,

  Your answer is very helpful!  Though  I am having trouble handling specific searchs in fields with spaces, do you know how to handle a space in the url?  When a %20 is included it seems to select way too much.

for example if a field had this data:

'Data Collision Entry'

'Data Entry'

'Data Entry Manipulation'

What would I include in the url to select just one of them?

Thanks!

Not applicable

Re: Passing parameter and direct url to docs

Hi Tyler,

I've tried to replicate your situation and found out that you can use double quote to select the exact data.

For example:

...select=LB307,"Data Collision Entry","Data Entry","Data Entry Manipulation"

Hope it works for you.

Message was edited by: huzaifayamin

Not applicable

Passing parameter and direct url to docs

Perfect! Thanks!

Also is it possible to select sheets through the url?

Not applicable

Re: Passing parameter and direct url to docs

I never tried selecting sheets from url. But you can refer to below discussion:


http://community.qlik.com/thread/19767

Not applicable

Passing parameter and direct url to docs

Perfect, thanks! Used the bookmark strategy as explained in that thread.

Community Browser