I am using custom properties to order pages in my navigation bar.
While with Umbraco 7 I was able to add a custom property with alias "orderindex" for different document types (Landing pages, service pages) after migrating to Umbraco 8 i cannot do so. Same issue is with title properties that appear on navigation.
I have a loop and a helper function to render pages in navigation which renders using alias "order". If I had only one document type in header it would work fine, but what if I have several document types? Is there really a need to check for document type each time I want to use a property or there's an alternative solution?
Umbraco 7 & 8 document type creation is quite same. So, if you are adding a custom property with alias "orderindex" for different document types then it should allow you.
Is Umbraco 8 system blocking you? Can you share a screenshot?
I tried again using different names and it worked with no issue. My guess is that there are some system reserved aliases but I did not have a look at source code to find.
Duplicate document propertiy aliases disallowed
Dear community,
I am using custom properties to order pages in my navigation bar. While with Umbraco 7 I was able to add a custom property with alias "orderindex" for different document types (Landing pages, service pages) after migrating to Umbraco 8 i cannot do so. Same issue is with title properties that appear on navigation. I have a loop and a helper function to render pages in navigation which renders using alias "order". If I had only one document type in header it would work fine, but what if I have several document types? Is there really a need to check for document type each time I want to use a property or there's an alternative solution?
Thank you.
Hi,
Umbraco 7 & 8 document type creation is quite same. So, if you are adding a custom property with alias "orderindex" for different document types then it should allow you.
Is Umbraco 8 system blocking you? Can you share a screenshot?
Cheers,
Shaishav
Thanks for the answer.
I tried again using different names and it worked with no issue. My guess is that there are some system reserved aliases but I did not have a look at source code to find.
Oh I see now I can learn about something new. :)
is working on a reply...