Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I just create a master page and added a property (like rich text editor). Now I created a child page inherited from master. Now I set content in master page property (using rich text editor). Whenever I navigate published child pages; this property should be visible in master area without any setting. But currently its not like that and I have to set this property for each inherited page.
Already used @Umbraco.Field("mprop", recursive: true)
Assuming that we have created these pages using document types, templates, contents, etc.
If I'm understanding your question correctly, you're hoping to set content in one place and then have that value be set in that property on all child document types via inheritance?
Inheritance in document types means that you only have to create the property once, on the master document type, and have it be available on all child document types.
But it's the property that's inherited, not the value of the property.
To do what you're trying to do would involve some server side scripting to programatically set the value on each page.
If you're trying to have some value render on all child pages in the markup on the front end, I'd consider writing some script which reads the value from the parent page and display it, and this script could be run on each child page.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted