The Mixins section is used to create and manage mixins, which are reusable collections of schemas that can be applied to content types. Mixins allow you to add properties and behaviors to content types without relying on inheritance, making it easier to share metadata and functionality across multiple content models.
Mixins can be applied to different content types independently. A mixin can also be added dynamically to a content item, even if the content type does not explicitly reference it. This provides greater flexibility when designing content models and managing content behavior.
A mixin can contain any number of schemas and may also be empty.
In addition to using your own mixins for creating content types, you can use one of the system mixins that are included with Studio Modeler application by default. These are:
| Mixin | Description |
|---|---|
| SysFilish | Allows the content with this mixin to behave like a file and have its properties. |
| SysFolderish | Allows the content with this mixin to behave like a folder and have its properties, including having child documents. |
| SysFullTextIndexable | Allows the text within the content with this mixin to be fully indexable. |
| SysVersionable | Allows the content with this mixin to be versioned. |
| SysGovernable | Allows to create a content type that is governable |
You can create separate mixins for different content types to allow or forbid certain types of behaviors or properties. For example, you can create a solution with two content types as follows:
| Content Type 1 | Content Type 2 |
|---|---|
|
|
In this example, both content types share the properties from sysFilish, but have different schemas and therefore act differently.
To learn more about creating mixins, see Creating Mixins.