Menu

QlikView Mashups - Div Integration

Introduction

These examples make use of the QlikView Ajax library.
For getting these examples to work you first have to make sure that you include a reference to the QlikView Javascript library in the header of your Html file:

				<script language="javascript" type="text/javascript" src="http://localhost/QVAJAXZfc/htc/QvAjax.js"></script>
				

After doing so, define a script block in the Html header which initializes the reference to the desired QlikView application:

				<script language="javascript" type="text/javascript">
   Qv.InitWorkBench({
      View: 'Sales Compass',

      // Note: According to the documentation "Host: 'Local'" should be the default value,
      // but in my experience it seems to be more stable to use "Host: null" instead
      Host: null
   });
</script>

Further Resources & Links:

Detailed information about the QlikView JavaScript API can be found at the following resources:


Description:

Reference to QlikView JavaScript file:

                        <script language="javascript" type="text/javascript" src="http://SERVER_URL/QVAJAXZfc/htc/QvAjax.js"></script>
                    

Source Code (Html Header):

Source Code (CSS Definition):

Div Integration: