Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to create an adaptive form inside AEM using JSON #1275

Open
Jezwn opened this issue Jun 18, 2024 · 6 comments
Open

API to create an adaptive form inside AEM using JSON #1275

Jezwn opened this issue Jun 18, 2024 · 6 comments
Assignees

Comments

@Jezwn
Copy link

Jezwn commented Jun 18, 2024

I'm looking to programmatically create AEM Adaptive Forms using JSON. I have managed to create a JSON structure as specified at specification.

As far as I know Adobe hasn't exposed a public API to create an adaptive form inside AEM.

How do we move forward on this? Thanks

@rismehta rismehta self-assigned this Jun 18, 2024
@rismehta
Copy link
Collaborator

@Jezwn Thanks for creating the issue. I will keep you updated, as I am working on a plan to enable this API for early adopters. We will gather collective feedback before making the API public.

@rismehta
Copy link
Collaborator

@Jezwn Could you share the URL of the external form you are attempting to migrate to AEM Forms?

@Jezwn
Copy link
Author

Jezwn commented Jun 19, 2024

@rismehta I actually have a number of forms with different complexity levels. Below is a simple form.
https://jezwin2706.formstack.com/forms/new_form

@rismehta
Copy link
Collaborator

I actually have a number of forms with different complexity levels. Below is a simple form.
https://jezwin2706.formstack.com/forms/new_form

Thanks for sharing the form URL. Is this specific to a customer requirement, or are you just exploring?

@Jezwn
Copy link
Author

Jezwn commented Jun 19, 2024

@rismehta It was originally a customer requirement. But at the moment I'm just exploring the migration options.

@rismehta
Copy link
Collaborator

rismehta commented Jun 19, 2024

@Jezwn I've created a gist with a code sample that you can use as a reference to create an adaptive form from a headless form JSON. You can comment on the gist, if you face any issues.

You can check the API usage here, https://gist.github.com/rismehta/fc9512317b26b60a16a839255977197c?permalink_comment_id=5093940#gistcomment-5093940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants