Is there a way to modify the amount of assigned doc cals to a QVW through code/API, etc? Thanks,
Yes, it can be done in the QMS API. Have a look in the SDK:
For a working piece of code take a look at the source for qv-user-manager:
I found the part of code that should do what I'm looking for:
if (users.Count > allocatedCals)
metaData.Licensing.CALsAllocated = users.Count();
but when this executes, it causes error "System.Exception: Too many document CALs assigned". Is there something missing?
Is what it is saying true? Do you have enough free CALs to assign more? Remember that for Document CALs you have to specify a total number to allocate within the QlikView Management Console. Even the API won't break those rules.
Retrieving data ...