You use distribution policies to enable distribution of apps from Qlik Sense Enterprise to Qlik Sense Enterprise on Kubernetes and Qlik Sense Enterprise SaaS. Distribution policies are similar to security rules. In both cases, you define what resources the rule applies to and what actions that can be performed.
Do the following:
Open the QMC: https://<QPS server name>/qmc
Select Distribution policies on the QMC start page or from the StartS drop-down menu to display the overview.
Select the policy you want to edit.
Click Edit in the action bar.
Edit the properties in the Edit distribution policy window.
Property Description Default value Create rule from template
Select a template for your rule to have some values automatically filled in.Note: Changing the Create rule from template selection automatically clears all Actions, and changes the Conditions text box in the Advanced section accordingly.
Unspecified Disabled Select to disable the rule if you do not want it to be active. Cleared
Name the rule. Blank
Optional. Add a description of the rule. Blank
Property Description Default value Resource filter In the list, select the resource that the rule will apply to. Note that App_* means that the rule only applies to apps and not app objects and app sheets. App_* Actions Select the actions for the rule. Distribute
Use the rule editor under Actions to define the conditions for the rule. The condition is displayed in the text box in the Advanced section.
Click P to add more conditions (optional). When using multiple conditions, you can group two conditions by clicking Group. After the conditions have been grouped, you have the option Ungroup. Additional subgrouping options are Split and Join. The default operator between conditions is OR. You can change this in the operator drop-down list. Multiple conditions are grouped so that AND is superior to OR.
If you create an App distribution rule and set the resource condition name to MyApp, it means that the rule applies to the app named MyApp. However, setting Name to MyApp* will apply the rule to all apps with names beginning with MyApp.Note:
When using a wildcard (*), you must use the "like" operator, instead of "=".
Property Description Default value Conditions The text box reflects changes made in the policy editor above. You can define conditions by typing in the text box. ((subject.name=""))
Click Validate rule to check that the syntax is correct.
Property Description TagsTip: If no QMC tags are available, this property group is empty.
Click the text box to be display a list of the available tags. Start typing to reduce the list. Connected tags are displayed under the text box.
Click Apply in the action bar to save your changes.
Successfully updated is displayed at the bottom of the page.