Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to get alternative text for multifield component ?

Avatar

Level 4

I was trying to get alternative text for image asset from DAM Dynamically, In dialog we have multifield component should be use. by adding a checkbox like core image component

 

 

Its not working for multifield component.

 

keshava219_0-1668496981015.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

It does not work automatically ,

You need to write a logic to fetch the Alt text from DAM for selected asset

and same logic has to be written in HTL Model.

 

Please check Core image component model implementation.

https://github.com/adobe/aem-core-wcm-components/blob/07dad2a91cbcfc58ae8d816bbce5964fc9b9355e/conte... 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

It does not work automatically ,

You need to write a logic to fetch the Alt text from DAM for selected asset

and same logic has to be written in HTL Model.

 

Please check Core image component model implementation.

https://github.com/adobe/aem-core-wcm-components/blob/07dad2a91cbcfc58ae8d816bbce5964fc9b9355e/conte... 



Arun Patidar