Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
Yes, the asp page containing the QvObject will read the ticket and use it if available.
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&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" />
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" />
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
Yes, you simply pass the ticket to the aspx page with the workbench object.