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 22 posts 185 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 349 posts 1631 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 22 posts 185 karma points c-trib
    Sep 11, 2019 @ 14:09
    Rasmus Olofsson
    0

    Thank you for the quick answer!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies