Copied to clipboard

Flag this post as spam?

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


  • Rasmus Olofsson 6 posts 97 karma points
    14 days ago
    Rasmus Olofsson
    0

    Possible to make inherited composition property required?

    Umbraco CMS version 7.13

    Problem: I have a composition document type with a property that is optional. A document type which inherits this composition needs the property to be required.

    Is this possible to do? Or is there a fairly simple workaround? If I create the property again in the document type that inherits, there will be an exception thrown I believe.

  • Shaishav Karnani from digitallymedia.com 283 posts 1271 karma points
    14 days ago
    Shaishav Karnani from digitallymedia.com
    100

    Hi Rasmus,

    This is not possible. Inherited composition property cannot be altered.

    Cheers,

    Shaishav

  • Rasmus Olofsson 6 posts 97 karma points
    1 week ago
    Rasmus Olofsson
    0

    Thank you for the quick answer!

Please Sign in or register to post replies

Write your reply to:

Draft