Deploying your mashup to the repository
To make your mashup available in Qlik Sense Enterprise, you need to import it, as an extension, to the repository. This is done using the Qlik Management Console.
Prepare your mashup for deployment
You can deploy your mashup to the Qlik Sense web server or you can deploy it to a different web server, for example, Sharepoint.
If you have created your mashup in a Qlik Sense Desktop environment or on a dedicated development node, and you now want to deploy it to Qlik Sense Enterprise, there are some preparation tasks to perform.
Do the following:
-
Make sure the Qlik Sense app is uploaded to the repository.
-
Update the JavaScript file. In a Qlik Sense Enterprise environment, the openApp function references an app ID instead of the app name. See the following examples.
Example: openApp in Qlik Sense Desktop environment
//open app and get objects var app = qlik.openApp( "Tutorial.qvf", config ); $( ".qvobject" ).each( function () { var qvid = $( this ).data( "qvid" ); app.getObject( this, qvid ).then( function ( object ) { qvobjects[qvid] = object; } ); } );
Example: openApp in Qlik Sense Enterprise environment
//open app and get objects var app = qlik.openApp( "2c18060f-d3b3-46ed-b3d4-a24915e1b64f", config ); $( ".qvobject" ).each( function () { var qvid = $( this ).data( "qvid" ); app.getObject( this, qvid ).then( function ( object ) { qvobjects[qvid] = object; } ); } );
Obtaining app IDs and object IDs to find help on locating the app id.
-
You are now ready to upload the mashup files to the repository.
Import the mashup
Do the following:
-
Create a zipped file of the mashup project containing the QEXT, HTML, JavaScript, and any CSS files.
-
Open the Qlik Management Console.
-
Select Extensions on the QMC start page or from the Start drop-down menu, to display the overview.
-
Click Import in the top-right corner.
-
Select a file to import.
Remember to enter the password for the zip file if it is password protected.
- Browse to and click the zipped extension file that you want to add.
-
Click Open in the File explorer window.
-
Click Import.
Information noteIf the name of an extension already exists (or occurs more than once in the zip file), the zip file will not be uploaded. An extension within an extension in the zip file will be accessible in the extensions overview (and stored twice on disk).Information noteExtensions are saved to: \\QlikShare\StaticContent\Extensions. The maximum file size is half of the free disk space.
You have now uploaded your mashup to the repository as an extension.
Sharing your mashup with others
When you have deployed your mashup to the repository, you can share it with others so they can explore your data. The URL of your mashup has the following syntax:
https://<ServerName>/extensions/<MashupName>/<MashupName>.html