Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
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.
IContentType
IPublishedContentType
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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?
I am posting Anders' answer provided elsewhere for posterity.
is working on a reply...