HI,
in Adobe Aem 6.5 cloud version I would like to create a customized ModelExporter to export some page contents to json.
I would like my ModelExporter to respond to the following url: http://localhost:4502/content/my-page.my-seolector.my-extension where my-seolector sees to be different from "model" and my-extension different from "json ".
I tried to make a mapping of the following type but it doesn't work:
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL, resourceType = "xxx/components/structure/page")
@exporter(name = "jackson", selector = "my-seolector", extensions = "my-extension", options = { @ExporterOption(name = "SerializationFeature.WRAP_ROOT_VALUE", value = "true")})
Could you tell me how to do it?
Thank you