Query the Downloadable goods library
To query the Downloadable goods library you must perform the following:
- Get the libraries manager.
Get an instance of the libraries manager and specify it to use the system libraries provider. The string representation of this provider is “SystemLibrariesProvider”.
- Get the library.
Get the library by either its ID or title. Here are the predefined values of both:
- ID: e5915e51-707e-4232-9830-68f2800067f8
- Title: Downloadable goods
For more information about querying regular libraries, see the For developers: Media content section.
NOTE: When you work with the Downloadable goods library, you must always use the libraries manager with the system libraries provider.
Use the following code sample: