Forum Discussion

Warren_Brill's avatar
8 years ago

Method to Extract the "Detailed Description" Field Contents Via an API Call?

The "Detailed Description" field (in the node properties for boards and blogs (at least) is only exposed to the on-page component "Node Detailed Description". The content of this field does not generate a named text string. I do not want the component on my pages, but just want to extract the content of the field in the Properties sheet. Since it's not a named text string, is there an alternate method to extract that content? What I would like to do ultimately is to use this for the metadata Description, instead of what is placed on the page. SEO requirements generally lead to entirely different content than on-page sub-heading ("Description") text.

  • DougS's avatar
    DougS
    Khoros Oracle

    The "detailed description" field is stored in a node-level setting named board.description_long for forum messages. You can use the /boards/id/<board id>/settings/board.description REST V1 call to retrieve the value of this for a given board. For other discussion styles, the setting is slightly different:

     

    Blogs:        blog.description_long

    Ideas:        idea.description_long

    Contest:  contest.description_long

    QandA:    qanda.description_long

    TKB:          tkb.description_long

     

    -Doug