Query the Downloadable goods library

To query the Downloadable goods library you must perform the following:

  1. 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”.
  2. 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:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?