More in this section

Forums / General Discussions / Article Content

Article Content

7 posts, 1 answered
  1. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    18 Aug 2010
    Link to this post
    Hello,

    Are you going to include a content type for articles, where we can add the author, publication date, etc.. or should we use the news content?

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    18 Aug 2010
    Link to this post
    Hi Sonu Kapoor,

    Most probably we will not add additional fields to the existing modules, but you can create a new one through the API



    sample

    bool changedDB = false;
      
     App.WorkWith().DynamicData().Type(typeof(Document))
     
         .Field().TryCreateNew("FirstName", typeof(string), ref changedDB).Done()
         .Field().TryCreateNew("LastName", typeof(string), ref changedDB).Done()
         .Field().TryCreateNew("Phone", typeof(string), ref changedDB).Done()
         .Field().TryCreateNew("HowDidYouHear", typeof(string), ref changedDB).SaveChanges(true);
      
     if (changedDB) SystemManager.RestartApplication(false);


    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. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    18 Aug 2010
    Link to this post
    Thanks. I will take a look at that.
  4. Neil
    Neil avatar
    82 posts
    Registered:
    21 Oct 2006
    18 Aug 2010
    Link to this post
    The api gets the fields into the sf_meta_fields table, how are the fields used within the built in controls or is this a developer role and requires extensive customisation and new template creation to be mapped. Upto now the documentation is limited and subject to change.

    Regards,

    Neil
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Aug 2010
    Link to this post
    Hi nenwmn,

    There is no template mapping option in the BETA or UI setting that you can use. We will provide UI option for adding dynamic fileds for the RC or official release.

    Sincerely yours,
    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. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    19 Aug 2010
    Link to this post
    Are we also going to have an option to add the new content type into the UI?
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Aug 2010
    Link to this post
    Hi Sonu Kapoor,

    We have plans for this option, but I am not sure now whether we will be able to implement this for the official release. There will be another version released before the official one and then we will be able to say what exactly will go to RC and Sitefinity 4.0.

    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
7 posts, 1 answered