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
Hi,
is there a way to get a content of specific property of one Document Type in custom api?
Edit: If the property is content of RichTextEditor is it possible to get this content as html in C# api?
Hi Pavel,
Yes, this is possible.
Use content service for getting the content from the database - https://our.umbraco.com/documentation/reference/management/services/contentservice/
Use UmbracoHelper for getting the content from published data - https://our.umbraco.com/documentation/reference/querying/umbracohelper/
Thanks,
Alex
Thanks it works
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Get property of specific DocumentType
Hi,
is there a way to get a content of specific property of one Document Type in custom api?
Edit: If the property is content of RichTextEditor is it possible to get this content as html in C# api?
Hi Pavel,
Yes, this is possible.
Use content service for getting the content from the database - https://our.umbraco.com/documentation/reference/management/services/contentservice/
Use UmbracoHelper for getting the content from published data - https://our.umbraco.com/documentation/reference/querying/umbracohelper/
Thanks,
Alex
Thanks it works
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.