Expand my Community achievements bar.

Consume API to load dropdown in AEM site page

Avatar

Level 1

Hi All,
Is it possible to consume API to load dropdown in AEM site page. Do we have any related documents about that?

6 Replies

Avatar

Employee Advisor

@RajalakshmiGopinathan is it an adaptive form inside a site page or a dropdown in sites?

Avatar

Level 3

Is it possible to consume api response and show in the dropdown of an Adaptive form inside a Site Page in AEM?

Avatar

Employee

@aemuser2021 wrote:

Is it possible to consume api response and show in the dropdown of an Adaptive form inside a Site Page in AEM?


Yes, you can create a core-components based Adaptive Form within a Sites page, and populate the dropdown using an API response.

Avatar

Level 3

Is there any article to refer to achieve this?

Basically we need to connect to some external APIs via Access token, get the data from APIs and pre populate the data in the Adaptive Form (created by content team) for the user.

API to load Dropdown in site pages.

Is it possible and how ? Can it achieved using Postman tool?

 

Avatar

Administrator

@RajalakshmiGopinathan Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni