1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Where to find Provider Docs?

Where to find Provider Docs?

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    17 Nov 2010
    Link to this post
    Is there any documentation on writing a custom Image\Library provider in 4.0 yet?

    There's a couple systems I'd like to integrate into it...
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    17 Nov 2010
    Link to this post
    Hi Steve,

    The providers are loaded through configuration files. Actually you can create a new provider for a given module through UI.
    You can get all providers programmatically from ContentModuleConfigBase and its Providers property which returns ConfigElementDictionary<string, DataProviderSettings>

    DataProviderSettings - represents the configuration elements associated with a provider.

    properties

    • Name - Gets or sets the name of the provider configured by this class.
    • Description - Gets or sets description of the provider configured by this class.
    • ResourceClassId - Gets or sets the global resource class ID for retrieving localized strings.
    • ProviderType -The type of the data provider.
    • Parameters - Gets a collection of user-defined parameters for the provider.
    • Enabled - Gets or sets a value indicating whether the provider is enabled.
    • Version -  Gets or sets the version number for a data provider assembly.
    So, if you want to have custom provider that uses the default parameters you can do this from Settings >> Libraries >> Providers >>"Create new"

    You can create a custom type that inherits from OpenAccessLibrariesProvider
    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered