Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rosen Petrov 8 posts 28 karma points
    Oct 05, 2020 @ 06:45
    Rosen Petrov
    0

    How to read a property description from C# API?

    Hello fellows,

    I need to get a Property description from a document type. I am looking into IPublishedContent.ContentType and IPublishedContent.GetProperty("alias") which both returns IPublishedContentType. But there is no description there. Any ideas?

  • Ault Nathanielsz 87 posts 407 karma points c-trib
    Oct 05, 2020 @ 16:48
    Ault Nathanielsz
    0

    I am posting Anders' answer provided elsewhere for posterity.

    You'll have to look up the IContentType via the content service: https://our.umbraco.com/documentation/Reference/Management/Services/ContentService/ IPublishedContentType only has limited information.

Please Sign in or register to post replies

Write your reply to:

Draft