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

AEM Generate dynamic number based ID when creating a new content fragment?

Avatar

Level 5

Is it possible to configure content fragment models so that they generate unique dynamic file IDs when creating content fragments which could be used for querying purposes and all?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @spidey1405,

This is not possible using OOTB AEM Content Fragments functionality. However there are some option that you could consider:

Personally, I would go with custom component, because it will clearly define that this dynamic ID is part of your content fragment structure/schema.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @spidey1405,

This is not possible using OOTB AEM Content Fragments functionality. However there are some option that you could consider:

Personally, I would go with custom component, because it will clearly define that this dynamic ID is part of your content fragment structure/schema.