Copied to clipboard

Flag this post as spam?

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


  • TooensureMaster 4 posts 25 karma points
    Jun 02, 2021 @ 02:00
    TooensureMaster
    0

    Create and reference model | Model Builder | Umbraco v8

    Now that I finally have model builder working.

    There's another issue.

    I notice Model Builder self generated models from my Umbraco CMS.

    But how can I couldnt I create my own strongly typed model my self and then model builder will generate that.

    How can I access these models within my template.

    Yes I know Model.Home, (if that's even currect) But home is a type so how do I access title property within home.

  • shekhar sharma 22 posts 110 karma points
    Jun 02, 2021 @ 09:59
    shekhar sharma
    0

    Hi Tooensure , User Ditto Mapper , Then Call your own Controller(Your DocumentType)--> Action ( Index ). On Action you can bind your own Model classes.

    Thanks, Shekhar

  • Sian Simms 2 posts 72 karma points
    Jun 03, 2021 @ 10:02
  • 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