How to dynamically populate the variation field in Experience Fragment Component?

sanjanas3080058 17-03-2020

Hi All,


Is there any way to dynamically display one Experience Fragment component from /content/experience-fragments based on the results we get by running a query?

Example: The query result gives fragment path :/content/experience-fragments/test-xf 

In the below screenshot , instead of choosing an XF from picker, the path should be pre-populated with the above fragment path (/content/experience-fragments/test-xf) .




So here I need help to dynamically populate value in "Variation" Field in an Experience Fragment based on my query result. 

Can we overlay the OOTB js functionality?  or what is the best approach of achieving this?


@kautuk_sahni  @Arun_Patidar @shivani_garg @Veena_07 

AEM6.3.0 content fragments custom experience fragment dynamic data experience fragment

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)