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?
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
is working on a reply...