Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gevorg 13 posts 124 karma points
    Sep 12, 2019 @ 14:07
    Gevorg
    0

    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.

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 12, 2019 @ 17:59
    Shaishav Karnani from digitallymedia.com
    100

    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

  • Gevorg 13 posts 124 karma points
    Sep 17, 2019 @ 10:31
    Gevorg
    0

    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.

  • tech bud 2 posts 20 karma points
    Sep 12, 2019 @ 18:29
    tech bud
    0

    Oh I see now I can learn about something new. :)

Please Sign in or register to post replies

Write your reply to:

Draft