Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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.