More in this section
Forums / General Discussions / Add Custom Field to Comments?

Add Custom Field to Comments?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. cli
    cli avatar
    50 posts
    Registered:
    21 May 2007
    17 Dec 2010
    Link to this post
    Is there a simple way to add a custom field to comments associated w/ a newsitem?  I can't seem to find any information about this.  It would seem I have to do a custom newsitem module to achieve this.  Is that true?  Thanks!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    17 Dec 2010
    Link to this post
    Hi cli,

    You need a custom comments control that inherits from CommentsList. You cannot add metafields (dynamic fields to IComment object) so you need to persist the data manually. Please take a look at this post.

    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
2 posts, 0 answered