We have multiple reps and for each rep we will have a bio that we are storing in content fragments. I want to include this bio on an AEM page based on a passed-in value. Each content fragment will be named according to a unique rep value, like a rep number.
For instance, the path would be something like /path/to/content/fragment/data/12345/master... where “12345” would be dynamic.
Is there a way to include the content fragment data within a custom component with HTL using something like data-sly-include or data-sly-resource or do I need to use JSON?