Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Workbench - can tickets and userids be used?

We are currently embedding QVWs inside our web application inside of an <IFRAME>. The src attribute we use that points to the QVW file in QvAJAXZfc has "ticket" and "userid" parameters appended to the end. Is there a way to use tickets and usersids with QVObject in workbench?

5 Replies
Not applicable
Author

Yes, the asp page containing the QvObject will read the ticket and use it if available.

Not applicable
Author

Currently using <IFRAME> with ticket and userid:

<iframe id="ctl00_nmDefaultMasterBody_chartIframe" width="1285px" height="700px" frameborder="0" src="http://jimsserver02/QvAJAXZfc/opendoc.htm?document=NetworkPerformance.qvw&select=lbSheetIndex,1&tick...">

</iframe>

How do I add the ticket and userid to a WorkBench QvObject?

ticket=90A83F044FE7455B7F298BF0E8ED4A8F59CF4708&amp;userid=JIMSSERVER02%5cadministrator

<qww:QvObject ID="QvObject13" runat="server"

     QlikViewDocument="NetworkUsage  (Local)"

     QvAjaxZfcPath="http://localhost/QvAjaxZfc/"

     ObjectID="pmCurrentSelection" ObjectType="Current Selections Box" Width="210px"

     Height="80px" />

Not applicable
Author

You would pass the ticket to the page containg the workbench object that you're including in your iframe. Your iframe may look like this:

:<iframe id="ctl00_nmDefaultMasterBody_chartIframe" width="1285px" height="700px" frameborder="0" src="http://jimsserver02/qvobject.aspx?select=lbSheetIndex,1&ticket=90A83F044FE7455B7F298BF0E8ED4A8F59CF4...">

</iframe>

and in qvobject.aspx will contain your workbench object:

<qww:QvObject ID="QvObject13" runat="server"

     QlikViewDocument="NetworkUsage  (Local)"

     QvAjaxZfcPath="http://jimsserver02/QvAjaxZfc/"

     ObjectID="pmCurrentSelection" ObjectType="Current Selections Box" Width="210px"

     Height="80px" />

Not applicable
Author

We will not be using an <IFRAME> going forward, we will be embedding QvObjects on ASPX pages.

So if I understand you correctly we will add the ticket & userid to the URL for the page like this:

http://localhost/mypage.aspx?ticket=90A83F044FE7455B7F298BF0E8ED4A8F59CF4708&userid=JIMSSERVER02%5cadministrator

Is this correct?

Thanks, Jim

Not applicable
Author

Yes, you simply pass the ticket to the aspx page with the workbench object.