Extract AEM Templates from Different JEE Applications

We have one special requirement when we need to use AEM (Adobe Experience Manager) only to develop (create) form templates that will contain both static images and html elements, such as drop-down lists, text areas, etc.

The question is whether the programmed template can be pulled into a JEE application that is separately built using Spring / Angular (deployed to Tomcat). The JEE application will be used to add user transaction data to form templates.

Finally, the above created forms must be published by the AEM publisher.

Please help check the approach as much as possible or not. If possible, please suggest how to complete the integration part: 1. Extract the template from the AEM autorun instance into the JEE application 2. Publish the form (template + data) to the AEM publication instance.

+5
source share
2 answers

You can try Knot.x. This is an open source project that allows you to enter dynamic data into static pages.

The idea is that you store static resources, such as HTML pages (defining the page layout, design, etc.) in one place (repository) and paste them into these dynamic, user data.

AEM can be used to serve static content shared by multiple users, and your JEE application can provide dynamic data if you open the JSON-based API.

It supports Handlebars templates (for AEM visualization if you want to embed data on these pages), but you can also add any template engine that you like.

I am a member of the Knot.x team, and now we are working on knotx.io , where more examples and business documentation will be provided.

At the same time, feel free to browse our Github pages. We look forward to receiving your feedback.

+5
source

Templates provide authorized scaffolding in AEM, as you know, and allow authors to create pages (unless you link to AEM 6.2 templates). If your authors create a page using these templates, you can extract the content using any HTTP client.

+1
source

Source: https://habr.com/ru/post/1262967/


All Articles