Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Universal Editor field configuration: conditional editability and DAM alt text

Avatar

Level 2

Hi everyone,

Our team is currently working with Edge Delivery Services and the Universal Editor, using the aem-boilerplate-xwalk project.

 

We’re trying to implement a feature, when uploading an image, user can either manually enter the alt text or have it pulled directly from the DAM. This has raised two questions based on the documentation here: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev... (PS: If there are any additional component specification references or articles, I’d really appreciate it if you could share them.)

 

1. The docs describe using "condition" to show or hide a field and the "readOnly" to change the field is editable or not. However, our use case is slightly different. We’d like to control whether the tab_iconAlt field is editable, based on the boolean value of tab_iconAltFromDam. Is there a way to use one boolean field to determine whether another field is readOnly or to adjust its value?

 

2. If we want to read the image’s alt text from the DAM based on the reference path, what would be the correct implementation approach?

 

Any documentation or suggestions would be extremely helpful. Thanks!

 

Current field

    {
        "component": "reference",
        "name": "tab_icon",
        "label": "Tab Icon",
        "valueType": "string",
        "multi": false
    },
    {
        "component": "text",
        "name": "tab_iconAlt",
        "label": "Alternative Text",
        "valueType": "string",
        "readOnly": false
    },
    {
        "component": "boolean",
        "name": "tab_iconAltfromdam",
        "label": "Get alternative text from DAM",
        "valueType": "boolean"
    }
0 Replies