Deploying mashups to the Qlik Sense Mobile app

Qlik Sense mashups are webpages that contain Qlik Sense app objects, such as charts and data. When a mashup is published in the Qlik Sense Enterprise hub, it can be also accessed from the Qlik Sense Mobile app.

Why use mashups in the Qlik Sense Mobile app

Using mashups in the Qlik Sense Mobile app enables faster loading and reduced data consumption for the mobile device. Mashups are generally less resource intense than Qlik Sense apps. This means that less data has to be retrieved from the Qlik Sense Enterprise server when loading a mashup in the Qlik Sense Mobile app.

備註: Qlik Sense November 2018 or later is required to access mashups from the Qlik Sense Mobile app.

Only mashups published in Qlik Sense can be accessed from the Qlik Sense Mobile. In the Qlik Sense Mobile app, mashups are listed in a dedicated Mashups stream. All public mashups in a Qlik Sense Enterprise installation are visible in the Qlik Sense Mobile app. An admin can restrict access to specific users by creating a security rule in the Qlik Management Console. See: Restricting access to mashups in the Qlik Sense Mobile app.

Non-optimized and optimized mashups

The mashups available in a Qlik Sense Mobile app, can be non-optimized or optimized.

  • A non-optimized mashup retrieves the necessary data from the Qlik Sense server every time it is opened. This ensures that the non-optimized mashup is always up to date with the Qlik Sense Enterprise installation.
  • An optimized mashup reduces data consumption for the mobile device by prioritizing locally stored app data over data stored on the server. When an optimized mashup opens, it fetches locally stored data from downloaded apps. It then loads what is not available locally from the Qlik Sense server. If the mashup finds all the necessary data on the device, it does not load data from the server. If the mashup does not find any necessary data on the device, it loads all mashup data from the server. An optimized mashup never stores new data on the device.
備註: The download of Qlik Sense apps for offline access is currently supported only on Qlik Sense Mobile app for iOS. In the Qlik Sense Mobile app for Android, mashups always load necessary data from the Qlik Sense server.

To enable optimized mashups, see: Configuring mashups for Qlik Sense Mobile (僅提供英文版).

Restricting access to mashups in the Qlik Sense Mobile app

To restrict access to mashups in the Qlik Sense Mobile app to specific users, the Qlik Sense Enterprise administrator must setup a security rule in the Qlik Management Console (QMC).

請執行下列動作:

  1. In the QMC, create a custom property by doing the following:
    • Set a name for the new custom property, for example, "StreamAccess".
    • In the Resource Types section, select the Extension and Users check boxes to apply the custom property to these resource types.
    • In the Value section, create a new custom property value, for example,"MyMashup".

    See: Creating a custom property.

  2. To allow access to mashups to specific users, apply the custom property created in step 1 to the selected users. In the QMC, go in the Users section and edit users by adding "MyMashup" in the StreamAccess field.
  3. To allow access to extensions to specific users, apply the custom property created in step 1 to the selected users. In the QMC, go in the Extension section and edit extensions by adding "MyMashup" in the StreamAccess field.
  4. Create a new stream. Add to the stream the Qlik Sense apps that contain the data used in the mashups.
  5. To prevent users from accessing a mashup, change the extension security rule as follows:
    • Create a copy of the default extension security rule.
    • Edit the copy you created by adding the condition ((resource.name!="MyMashup")), where "MyMashup" is the custom property you created in step 1.
    • Disable the default extension security rule to make the new one effective.

    See: Security rules installed in Qlik Sense

  6. Create the following security rule for extensions: ((user.@StreamAccess="MyMashup")) to allow specific users to access all extensions. See: Creating security rules.

  7. Apply the same security rule ((user.@StreamAccess="MyMashup")) to the stream you created in step 4 to allow specific users to access the stream. See: Editing streams.

Setting a mashup as landing page in an EMM environment

When administering Qlik Sense Mobile in an Enterprise Mobile Management (EMM) environment, you can set a mashup or a mashup stream as the landing page for users accessing Qlik Sense. When a user opens the Qlik Sense Mobile app within the EMM environment and authenticates in the Qlik Sense server, a specific mashup or mashup stream opens as starting page in place of the Qlik Sense hub.

To use a mashup or mashup stream as landing page, do the following;

In the Configuration Value field, enter the following:

{"LandingPage":"/extensions/MyMashup/MyMashup.html", "DefaultStream":"MyMashup" }

Where:

  • "LandingPage" is the path to the mashup to be used as landing page.
  • "DefaultStream" is the default stream that is loaded when accessing Qlik Sense.