Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

How to get alternative text for multifield component ?

Avatar

Level 3

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... 

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... 

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now