Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

[FEATURE]: Entity Content Type Condition

Open enkelmedia opened this issue 10 months ago • 0 comments

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's document type
  • The content type of media is it's media type
  • The content type of a member is it's member 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".

image

I have a PR in the making to outline a possible solution.

enkelmedia avatar Apr 05 '24 17:04 enkelmedia