Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
Level 10

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

Avatar

Correct answer by
Level 10

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?

Avatar

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.