Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to remove a user CAL using the QlikView SDK, latest and greatest version.

Hi all,

I am trying to achieve something like this:

for (int i = 0; i < currentCALs.Count; i++)

{

     if(currentCALs.State == Unused)

          currentCALs.Remove(currentCALs);

}

I can't find in Qlik API documentation an example on how to implement such idea, I could find an old example on the community from 2012 running a check on a specific user but I am thinking now since we are in 2016 then I am pretty sure the API has changed plus I am trying to check if the CAL hasn't been used, if not then remove it from the list of CALs. Will be even great if someone can share a working example if possible (like a small test app).


Many thanks,


//Youness

3 Replies
Not applicable
Author

Almost there with the help of a neat colleague in India

This community is awesome, found a sample code here

QlikView Management API - #2 Export / Add / Delete Document CALs

sohailansari201
Creator
Creator

Youness, any luck so far? I have also followed the same article and coded the whole application to remove the DOC license. The app works fine without any error but it doesn't remove the actual license. Have you been able to remove it successfully?

Thank you,

Sohail

Not applicable
Author

Hi Sohail,

QMS API call for removing CALs doesn't work in  QV 12 SR 5, possibly since QlikView 11.2 SR 10.

QV 11.20.12742 SR 10 works fine


Regards

//Youness