Copied to clipboard

Flag this post as spam?

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


  • andrew shearer 465 posts 580 karma points
    Sep 06, 2021 @ 05:01
    andrew shearer
    0

    Models Builder: access to Page context from within a nested element model

    Hi - In an Umbraco 9 website using models builder and with lots of nested elements (IPublishedElement) is it possible to extended the generated model with something from the page context (IPublishedContent)? (eg the page name or some other custom property).

    Looking at what the generated strongly-typed model inherits from (and IPE) the short answer is no, so I guess my question is more what techniques/strategies that people are using to achieve something like this?

    Thanks in advance!

    Andrew

Please Sign in or register to post replies

Write your reply to:

Draft