Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Fabb
Partner - Contributor II
Partner - Contributor II

Qlik CLI - create a new licence rule - resourceFilter problem

Hello,

I want to create a new Licence rule with Qlik CLI but it does not work as expected.

$Name = "License rule TEST"
$Comment = "TEST"
$Rule = '(user.userDirectory="TT")'
$resourceFilter = "License.UserAccessGroup"

New-QlikRule -name $Name -category "License" -comment $Comment -rule $Rule -actions "1" -resourceFilter $resourceFilter -disabled 

 

this command creates the rule but the rule does not work.

I think the problem may come from the resourceFilter parameter. I put "License.UserAccessGroup" but I'm not sure.

When I create the rule manually, a GUID is added after "License.UserAccessGroup" (ex: License.UserAccessGroup_cac75d0e-558e-43c3-9034-aa2346a5828a).

what's that id?
how to create this rule with Qlik-CLI?

Labels (3)
1 Reply
Fabb
Partner - Contributor II
Partner - Contributor II
Author

no one to help me?

I don't know what to fill for the parameter "resourceFilter" in case of a licence rule creation