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

SOLVED

How to Create an experience fragment with components to show dynamic data on each page

lakshraj4536325
Level 1
Level 1

Hi All,

I have a requirement of having a few components on the n pages which are common but the content of the component is dynamic for each page. Can you help me with a solution on how to create an experience fragment with component and the content for these should be dynamic. how can i achieve this?

1 Accepted Solution
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Check this -

Experience Fragments

Adobe Experience Manager Help | Using AEM Experience Fragments

What kind of dynamic use case(s) do you have? Check if experience fragment variations would cover it?

View solution in original post

2 Replies
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Check this -

Experience Fragments

Adobe Experience Manager Help | Using AEM Experience Fragments

What kind of dynamic use case(s) do you have? Check if experience fragment variations would cover it?

View solution in original post

smacdonald2008
Level 10
Level 10

Experiecne Fragments -  once they are created - they will typically contain the same data.

For example - an image and text, etc:

EFs.png

If you want dynamic components - you should look at programming HTL with Sling Models. That way, you can use Java business logic to create dynamic content.