Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
RedSky001
Partner - Creator III
Partner - Creator III

"Number of CALs allocated to this Document" QMS API

QMC  > Documents > User Documents > Document CALs > "Number of CALs allocated to this Document"

Anyone know which class this belongs to in the QlikView Management Service API ?

Mark

1 Solution

Accepted Solutions
bknol
Partner - Contributor III
Partner - Contributor III

You can get (or set) the Number of CALs allocated to a document through the DocumentMetaData object.

C# example

QMSBackendClient qmsClient = new QMSBackendClient();

DocumentMetaData documentMetaData = qmsClient.GetDocumentMetaData(<pass DocumentNode object>, DocumentMetaDataScope.All);

//Get number of CALs

int numerOfCALsAllocated = documentMetaData.Licensing.CALsAllocated;

The DocumentNode object, that needs to be passed to the function 'GetDocumentMetaData', can be requested via the function 'GetUserDocuments'.

That should do it!

View solution in original post

2 Replies
bknol
Partner - Contributor III
Partner - Contributor III

You can get (or set) the Number of CALs allocated to a document through the DocumentMetaData object.

C# example

QMSBackendClient qmsClient = new QMSBackendClient();

DocumentMetaData documentMetaData = qmsClient.GetDocumentMetaData(<pass DocumentNode object>, DocumentMetaDataScope.All);

//Get number of CALs

int numerOfCALsAllocated = documentMetaData.Licensing.CALsAllocated;

The DocumentNode object, that needs to be passed to the function 'GetDocumentMetaData', can be requested via the function 'GetUserDocuments'.

That should do it!

RedSky001
Partner - Creator III
Partner - Creator III
Author

Thanks, I can also now see lots of other cool things in the DocumentMetaData object too!