A content library is a storage that enables the Qlik Sense users to add shared contents to their apps.
The user who creates the content library automatically becomes the owner of that library. The library and the library objects can be shared with others through security rules defined in the QMC.
Do the following:
Open the QMC: https://<QPS server name>/qmc
Select Content libraries on the QMC start page or from the Start drop-down menu to display the overview.
Click Create new in the action bar.
Edit the properties.Tip note You can display or hide property groups using the panel to the far right.
Identification properties Property Description Name The name of the content library. Mandatory. Owner The owner of the content library. This property does not exist until the content library is created. Tags properties Property Description TagsTip noteIf no tags are available, this property group is empty.
Connected tags are displayed under the text box.Information noteIf no custom properties are available, this property group is not displayed at all (or displayed but empty) and you must make a custom property available for this resource type before it will be displayed here.Click Apply to save your changes. If a mandatory field is empty, Apply is disabled.
Click Apply in the action bar to create and save the content library.
The Create security rule dialog opens.
Edit the security rule for administrative access of the content library:
- Edit the Identification properties:
Create the conditions for the rule in the Basic section:
- Select which actions the rule should apply for.
- Use the drop downs to create a condition that specifies which users the rule will apply to.
- Click to add a condition. 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.
Operator descriptions Operator Descriptions and examples =
This operator is not case sensitive and returns True if the compared expressions are exactly equal.
user.name = ”a*”
The user named exactly a* is targeted by the rule.
This operator is not case sensitive and returns True if the compared expressions are equal.
user.name = ”a*”
All users with names beginning with an a are targeted by the rule..
This operator is not case sensitive and returns True if the attribute values in the compared expressions are equal.
All resources with the same name as the user are targeted by the rule.
Identification fields and values Field Value Name Enter the name of the content library. Mandatory. Disabled Select to disable the rule. The rule is enabled by default. Description Enter a description for the rule.
Successfully added is displayed at the bottom of the page.
You have now created a new content library.