More in this section

Forums / General Discussions / Adding additional fields to Content-based modules

Adding additional fields to Content-based modules

4 posts, 1 answered
  1. Alex
    Alex avatar
    39 posts
    Registered:
    19 Jul 2010
    18 Jan 2011
    Link to this post
    In 3.7 it was pretty simple to add additional fields to content-based modules like news, events, blogs, etc.  Is there a way to do this in 4.0 as well?  If so, where can this be done?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    18 Jan 2011
    Link to this post
    Hello Alex,

    Yes you can do this from the UI. I attached a short video.

    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
    Answered
  3. Alex
    Alex avatar
    39 posts
    Registered:
    19 Jul 2010
    18 Jan 2011
    Link to this post
    Now that I have added custom fields, can I access those through the NewsManager?
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Jan 2011
    Link to this post
    Hello Alex,

    Yes you ca use the content based managers to access those values. You should get the news items as you would normally do. Then you should use GetValue() and SetValue() extension methods to read and write to those fields.

    All the best,
    Radoslav Georgiev
    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
4 posts, 1 answered