INTRODUCTION
Watermarks are a common way to distinguish assets belonging to different stages of their life cycle in digital asset management (DAM). However, we advise against using this approach as it can have a negative impact on performance, particularly when searching and viewing assets in the user interface (UI).
Applying watermarks to all assets can slow down the system and make it difficult to quickly find the assets you need. Instead, consider alternative methods for organizing and labeling assets that are less resource-intensive and more efficient. By doing so, you can optimize your DAM system for maximum performance and usability.
approach THAT YOU MAY CONSIDER
The "Content Type" option is a long-standing feature in text fields that allows you to enable HTML encoding and add rich-text functionality to your content. However, it's important to note that once you set a text field to "Content Type = HTML," you cannot revert this setting.
*You can also create a new field solely for use in DAM UI Card View.
Once the field is set up, you can create rules and default values that set the field's value to an HTML code. This feature is particularly useful in digital asset management (DAM), where it allows you to display different color-coded text based on the status value.
In this example I used Green (hex code #339966) as my status color for Available. This was achieved by using the below sample reference code that defaults the HTML encoded value to the field.
<ref:text out="<div style="font-size: 16px; background-color: white; text-align: left;"><span style="color: #339966;"><strong> Available</strong></span></div>" />
To display your field in DAM UI, go to “New User Interface configuration” > and select “Field Setup”
You will add your Text(HTML) field in your Card view configuration (JSON) setting. In my example I decided to add this for all content types.
First, I add it to the root Content Type “No type”
To give you a better idea of how this approach works, here are some examples of what status fields might look like when using this method.
In summary, the Text(HTML) field option is a powerful tool that can enhance your text fields with rich-text functionality. As this allow you to create visually appealing content cards that engages your users and provides a more immersive experience