Hey! I'm new to umbraco and struggling to understand how to achieve the following.
I want to create a component (partial view) that that the user can change the content in the root of the content manage tab.
I then want to render this partial in a bunch of different pages with their own model.
How can I achieve this?
I can create dynamic content and render partial view with the content stuck to that page, but can't manage to figure out how to have a shared components.
Every time I try umbraco complains that partial and main view model don't match
Partial view with its own model and content
Hey! I'm new to umbraco and struggling to understand how to achieve the following. I want to create a component (partial view) that that the user can change the content in the root of the content manage tab.
I then want to render this partial in a bunch of different pages with their own model. How can I achieve this?
I can create dynamic content and render partial view with the content stuck to that page, but can't manage to figure out how to have a shared components. Every time I try umbraco complains that partial and main view model don't match
You can still use strongly typed partial views. Have a look here: https://our.umbraco.com/documentation/reference/templating/mvc/partial-views#strongly-typed-partial-views
In Umbraco 9 instead of
you have
is working on a reply...