none
Discussion Board Hidden field Where are hidden columns set up ?? SharePoint 2010,2013 RRS feed

  • Question


  • HI Guys

    In any discussion board we have hidden site columns that helps sharePoints to manage Discussion items, children messages and sub messages.

    You can see the list of those site columns bellow. Can someone tells me where are these columns initialized or set up? I look at it there is no event receiver (Pretty sure that would not helps here) nothing particular in code behind of the newform page nor in the editform page. Dam where does sharepoint do this IndentLevel = value for example

    instruction


    Message

     

    Title
    ParentFolderId
    DiscussionTitleLookup
    TrimmedBody
    CorrectBodyToShow
    BodyWasExpanded
    QuotedTextWasExpanded
    ToggleQuotedText
    MessageId
    ThreadTopic
    ThreadIndex
    EmailReferences
    ThreadingControls
    IndentLevel
    Indentation
    StatusBar
    FullBody
    LimitedBody
    MoreLink
    LessLink
    PersonImage
    LinkTitleNoMenu
    ShortestThreadIndex
    ShortestThreadIndexId
    ShortestThreadIndexIdLookup
    IsRootPost

     

    Discussion Board

     

    ParentFolderId
    DiscussionTitleLookup
    TrimmedBody
    CorrectBodyToShow
    BodyWasExpanded
    QuotedTextWasExpanded
    ToggleQuotedText
    MessageId
    ThreadTopic
    ThreadIndex
    EmailReferences
    ThreadingControls
    IndentLevel
    Indentation
    StatusBar
    FullBody
    LimitedBody
    MoreLink
    LessLink
    PersonImage
    LinkTitleNoMenu
    LinkTitle
    LinkDiscussionTitleNoMenu
    LinkDiscussionTitle
    FileLeafRef
    RelevantMessages
    ShortestThreadIndex
    ShortestThreadIndexId
    ShortestThreadIndexIdLookup
    IsRootPost


    Sherman Body love

    Friday, March 1, 2013 5:23 AM

Answers

All replies

  • As you said these are internal columns used by Discussion content type which is not exposed outside.

    Please let us know what exactly you want to do with these columns?


    Senthilrajan Kaliyaperumal

    Friday, March 1, 2013 7:32 AM
  • I just want to understand how does the system works. These columns values are set up by sharepoint to display messages and discussions inside discussion board list. When are those column values set up? In an event receivers, New Form code behind pages when?

    Thanks in advance for your answer


    Sherman Body love

    Saturday, March 2, 2013 3:01 AM
  • Hi Body Love,

    I understand you want to know where the fields are being set.

    The fields are builtin. They are being updated when an AddItem request is sent to SPRequest. SPRequest gets the content type specify by the item. Then SPRequest enumerate fields binded to the content type, and init the field. The value for each field is updated while initiating the field.

    To understand the process a little well, I would suggest you read:
    Content Type:http://msdn.microsoft.com/en-us/library/ff630942(v=office.14).aspx
    Create a Field:http://msdn.microsoft.com/en-us/library/bb861799(v=office.14).aspx

    Thanks,
    Jinchun Chen


    Jinchun Chen(JC)
    TechNet Community Support

    Thursday, March 28, 2013 9:14 AM
    Moderator