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

Forums / General Discussions / Additional Content Providers and Metadata

Additional Content Providers and Metadata

6 posts, 0 answered
  1. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    04 Oct 2010
    Link to this post
    Hi,

    In Sitefinity 3.x you can create additional providers for Generic Content based modules eg. Generic Content, News etc. and also add additional metadata fields. We often have to do this with most 3.x projects but since this stuff is no longer in web.config and I can't see it in settings. 

    How is this done in 4.0? Specifically:

    How do you add an additional GC provider (if it is still called that) for GC based modules in 4.0?
    How do you add additional metadata fields for GC based modules?

    Apologises if it is in the manuals somewhere - I have had a flick through them but couldn't find.

    Thanks,

    Seth
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    04 Oct 2010
    Link to this post
    Hi Seth,

    We are working on a sample module and we will illustrate in our sample how you can create a new type of a given module. We will create a blog post or include the sample as an article in our documentation. There are  issues that make this task no so easy as it is in 3.x editions and currently we are modifying our code to simplify this process.

    All the best,
    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
  3. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    04 Oct 2010
    Link to this post
    Hi Ivan,

    This seems like a concern - often in a development we have 2 - 5 Generic Content providers to handle things like FAQs, Glossary, Directories and then often in News we will have two providers - "News" and "Media Releases". Media Releases being the official news items and News being the more casual day to day bits of news.

    I can't tell you how many times we have to add new metadata fields to a Module to cater for variances in client needs eg. additional news fields we often add for example are thumbnail, image and download (for the pdf version of the news item) 

    Both these capabilities was one of the huge advantages of 3.x - being able to reasonably quickly add extra data stores as providers with slightly different fields for different types of content.

    So are you saying that both those features are going to be harder in 4.0 and quite possibly we will have to get our developer tools out to create additional providers and add new fields for 4.0 (as opposed to just HTML and web.config editing in 3.x).

    We still love 4.0 by the way but those features are pretty commonly used in our current sites.

    Cheers,

    Seth
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Oct 2010
    Link to this post
    Hello Seth,

    I would not say that the creating of the provider is harder in 4.0. I would say that the way is different, because of the new architecture and there are some specific things that you need to do. We started working on a sample, but it is not complete yet.
    Currently there is  missing implementation in the backend and even adding the providers, you will not be able to switch them from the backend - we have not implemented the ComboBox that will allow you to do this.

    Generally the steps for creating a new provider for existing module are( this is how you can do this from the configuration, so you will not work programmatically)

    1. Go to settings

    2. Select an existing provider - say Libraries and expand its Providers node

    3. On the right screen click "Create new" - provideer

    4. Set the provider settings

    5. Then expand the newly create provider node and select "Parameters"

    6. Add parameters - applicationName /Value

    7.Restart the server

    Regards,
    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
  5. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    19 Nov 2010
    Link to this post
    Hi Ivan,

    Now have my hands on the RC and I have created a FAQs provider from Generic Content module. I can see it now appears in a submenu when in the Generic Content Module.

    So now how do we go about controlling the additional metadata fields like we could do in 3.x - I have looked at the SDK and couldn't see any documentation or an example.

    Basically I would like to do the following.

    Add 1 additional text metadata field called Question.

    Is this possible yet?

    Thanks,

    Seth
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Nov 2010
    Link to this post
    Hello Webinsite,

    Please take a look at this post - Creating Dynamic Type

    Kind regards,
    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
6 posts, 0 answered