List the content libraries
List the content libraries by using the GetContentLibraries method.
List the content files in a content library by using the GetLibraryContent method.
Global content library
In Qlik Sense Desktop, the content files are retrieved from:
%userprofile%\Documents\Qlik\Sense\Content\Default
In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.
App specific content library
The embedded files are returned.
Examples
Example 1:
In this example, the app identifier is 8383E273-9AF8-465F-B30C-8274263823A1.
1. List the content libraries in the app using the GetContentLibraries method.
The client sends:
The engine returns:
The global library is named Default. The app specific library is named after the identifier of the app and the property qAppSpecific is set to true for the app specific content library.
2. List the content files that are specific to the app, using the GetLibraryContent method
The name of the content library is 8383E273-9AF8-465F-B30C-8274263823A1.
The client sends:
The engine returns:
The list of the content files is displayed.
Example 2:
1. List the content libraries in the app using the GetContentLibraries method.
The client sends:
The engine returns:
The global library is named default. The app specific library is named appcontent and the property qAppSpecific is set to true for the app specific content library.
2. List the content files that are specific to the app, using the GetLibraryContent method
The name of the content library is appcontent.
The client sends:
The engine returns:
The list of the embedded content files is displayed.
3. List the content files from the global content library, using the GetLibraryContent method
The name of the content library is default.
The client sends:
The engine returns:
The list of the content files that are common to all apps on the disk is displayed. These files are not embedded in the qvf file.