# Document integration

QlikView server comes with the ability to create mashups. The opendoc.htm can be used to integrate a QlikView document into another website. In short, you call an URL on the QlikView server and at the same time pass parameters on which document to integrate. The result can then be integrated into any website using an iframe tag in the HTML.

Example:

```
<iframe src="http://localhost/QvAJAXZfc/opendoc.htm?document=Sales%20Compass.qvw" />
```

There are several parameters available to control the output from opendoc.htm.

Syntax:

http[s]://&lt;machinename | servername&gt;/QvAJAXfc/opendoc.htm?document={documentname}&bookmark={bookmark}&select={selection}&ticket={ticketID}&host={hostIP}

## Parameters

Use the following parameters to define the behavior of how your QlikView document should be integrated into your web site.

### document

Specifies the path to the document on the server.

Example:

document=Sales%20Compass.qvw

### bookmark

Specifies the bookmark to be called, using the ID of the bookmark.

Example:

bookmark=Document\BM01

### select

Specifies any selection using field names and values.

Example: Single selection (Germany) in listbox with ID = LB01

select=LB01,Germany

Example: Multiple selections in one list box

select=LB01,Germany,USA

Example: Multiple selections in multiple list boxes

select=LB01,Germany,Argentina&select=LB02,AnotherDimension

Example: Specify if it is a server or document object (document is default)

select=Document\LB01,Germany,USA

### ticket

Specifies a 40 hex string returned by the Ticket web service.

### host

Specifies the host IP of the QlikView server. Optional if running on localhost.

Example:

host=local