Umbraco.CMS.Backoffice
Umbraco.CMS.Backoffice copied to clipboard
[FEATURE]: Entity Content Type Condition
Posting this here to outline the problem for a upcoming PR.
The basic need is to be able to show/hide a workspaceView
based on the content type
that is loaded. Be aware that content type
here refers to the type of any content (document, media or members).
In other words:
- The content type of
document
is it'sdocument type
- The content type of
media
is it'smedia type
- The content type of a
member
is it'smember type
There is a discussion with @iOvergaard on Discord about this here: https://discord.com/channels/869656431308189746/1225558756318777418
The end goal is to be able to only load the workspaceView for example when editing a Document with Document Type is "Start Page" or a Media Item that has the "Media Type" = "Image".
I have a PR in the making to outline a possible solution.