Page Picker in Custom Form | Community
Skip to main content
Level 5
November 4, 2022
Solved

Page Picker in Custom Form

  • November 4, 2022
  • 2 replies
  • 599 views

Hello,

 

Is there any way to display of list of pages/ list of content fragment in a custom FORM having a dropdown field. I know we can do it using APIs and all, but is there any better way like extending some Granite3 Page picker etc.

 

Note:

1) Not talking about touch UI dialog/Form.

2) This Form is gonna rendered onto one page in end site.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BipinCh1

Hi @arvind-1 , I think the best way to list of content fragments recently is to use the graphQL APIs.For reference you can go through this : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-api/content-fragments.html

For the pages , we need to develop the AEM APIs and expose to the front end for rendering dropdowns.

2 replies

arunpatidar
Community Advisor
Community Advisor
November 5, 2022

Hi,

What is your use case?

you have to use api to list the content fragment based on some root path and create dropdown option statically or create json api to retrieve those options and create dropdown option from client side,

Arun Patidar
BipinCh1Accepted solution
Level 3
November 5, 2022

Hi @arvind-1 , I think the best way to list of content fragments recently is to use the graphQL APIs.For reference you can go through this : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-api/content-fragments.html

For the pages , we need to develop the AEM APIs and expose to the front end for rendering dropdowns.