Copied to clipboard

Flag this post as spam?

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


  • Craig Cronin 304 posts 503 karma points
    Jan 29, 2022 @ 09:51
    Craig Cronin
    0

    Accessing IPublished Content in my Partial

    Just creating my first form in Umbraco 9 but struggling a little.

    It looks like I call the form now with

    @{await Html.RenderPartialAsync("Form/_FormAnonymously", new AnonymouslyFormViewModel());}

    And for a strongly type model I have @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage

    But its having problems.

    Any help would be appreciated. I can see examples online but none accessing IPublishedContent in the partial

Please Sign in or register to post replies

Write your reply to:

Draft