I'm relatively new to Umbraco, having only started with version 9. I'm trying to share content and using the process from a previous thread (https://our.umbraco.com/forum/using-umbraco-and-getting-started/95179-shared-content), have retrieved the content as an IPublishedContent object. However, I'm a bit confused on how to "render" this. I'm using this inside a blocklist and have created a partial view to display it, but am confused on how, inside the partial view, to render the object as HTML.
Render IPublishedContent
I'm relatively new to Umbraco, having only started with version 9. I'm trying to share content and using the process from a previous thread (https://our.umbraco.com/forum/using-umbraco-and-getting-started/95179-shared-content), have retrieved the content as an IPublishedContent object. However, I'm a bit confused on how to "render" this. I'm using this inside a blocklist and have created a partial view to display it, but am confused on how, inside the partial view, to render the object as HTML.
Any help would be appreciated.
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.