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?
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:
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?
Luckily I had some Google-fu left: http://issues.umbraco.org/issue/U4-7601 :)
is working on a reply...