I am very new to Umbraco and did just my first fresh install. Anyway, I am pretty sure I am missing something.
I created a new document type, my MasterPage. Inside my MasterPage I created another node called About.
Both my MasterPage and my About have generic properties.
When I create a new item under Content and under my MasterPage for About, I can only see and set the properties from my MasterPage?
Why is that? I understand that my About node is inheriting from MasterPage and that makes perfectly sense to me, but why does my About node don't have the properties I defined only for About?
I tried to find the properties, so I tried this to see whether my defined properties exist at least: (They exist in the database though)
@Model.Content.HasProperty("myPropertyAlias")
But strangely, in none of my content sites this is known?
Thanks for reading this, I hope somebody can help.
Best regards
Edit for clarification:
First, thank you for your response. My structrue looks like this:
Document Types:
Document Types
Document Types -> MasterPage
Document Types -> MasterPage -> AnotherDocumentType
Templates
Templates
Templates -> MasterPage
Templates -> MasterPage -> StartPage
Templates -> MasterPage -> AnotherDocumentTypeTemplate
Content
Content
Content -> StartPage
Content -> AnotherDocumentTypeContent
The MasterPage has in its Structure option "Allow at root" set to true and in Info by "Allowed templates" both the MasterPage and the AnotherDocumentType template checked.
Now I add to my MasterPage one Generic Property from type of Textstring named PageTitle.
This works as expected. I now can inside my Content Section create one node for the StartPage and the AnotherDocumentType.
Both have the PageTitle and I can set it. Works perfectly.
Now, when I define a Generic Property for AnotherDocumentType, I am not able to set it through the Content Section in AnotherDocumentType.
I hope it is now more clear.
Thanks for your help.