Copied to clipboard

Flag this post as spam?

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


  • Gevorg 10 posts 121 karma points
    1 week ago
    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 277 posts 1264 karma points
    1 week ago
    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 10 posts 121 karma points
    5 days ago
    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 71 karma points
    1 week ago
    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