AEM Generate dynamic number based ID when creating a new content fragment? | Community
Skip to main content
New Participant
September 28, 2022
Solved

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

  • September 28, 2022
  • 1 reply
  • 2995 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

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.

1 reply

lukasz-m
lukasz-mAccepted solution
New Participant
September 28, 2022

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.