Copied to clipboard

Flag this post as spam?

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


  • Michael Schnell 3 posts 73 karma points
    Jun 02, 2022 @ 16:23
    Michael Schnell
    0

    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.

  • 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.

Please Sign in or register to post replies