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.

Note: This functionality is not available in cloud editions of Qlik Sense.

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:

  1. Make sure the Qlik Sense app is uploaded to the repository.

  2. 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.

  3. You are now ready to upload the mashup files to the repository.

Import the mashup

Do the following:

  1. Create a zipped file of the mashup project containing the QEXT, HTML, JavaScript, and any CSS files.

  2. Open the Qlik Management Console.

  3. Select Extensions on the QMC start page or from the StartS drop-down menu, to display the overview.

  4. Click PImport in the top-right corner.

  5. Select a file to import.

    Remember to enter the password for the zip file if it is password protected.

  6. Browse to and click the zipped extension file that you want to add.
  7. Click Open in the File explorer window.

  8. Click Import.

    Note: If 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).
    Note: Extensions 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

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?