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 23 posts 187 karma points c-trib
    Sep 09, 2019 @ 14:57
    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 354 posts 1638 karma points
    Sep 09, 2019 @ 15:15
    Shaishav Karnani from digitallymedia.com
    100

    Hi Rasmus,

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

    Cheers,

    Shaishav

  • Rasmus Olofsson 23 posts 187 karma points c-trib
    Sep 11, 2019 @ 14:09
    Rasmus Olofsson
    0

    Thank you for the quick answer!

Please Sign in or register to post replies

Write your reply to:

Draft