Copied to clipboard

Flag this post as spam?

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


  • Brian Lacy 28 posts 101 karma points
    Mar 28, 2016 @ 23:12
    Brian Lacy
    0

    Getting the Doc Type Composition of a content item?

    I'd like to be able to check whether a Doc Type or Content Item is "composed of" certain doc types.

    I recently stumbled across something, somewhere about this -- someone had come up with a way to do something vaguely like:

    if (contentItem.IsComposedOf("MyDocType"))
    

    It could have been anything from a forum post or package on Our, to a Slack conversation, a blog post, a Gist, or even a feature request on Umbraco Issues, but unfortunately all my Google-fu has proved useless in finding this again.

    Has anyone heard of something like this, or know what I might be referring to?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Mar 29, 2016 @ 17:35
    Sebastiaan Janssen
    1

    Luckily I had some Google-fu left: http://issues.umbraco.org/issue/U4-7601 :)

  • 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