Expand my Community achievements bar.

SOLVED

Page Picker in Custom Form

Avatar

Level 6

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.

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @arvind , 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-ap...

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

View solution in original post

2 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Level 4

Hi @arvind , 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-ap...

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