I'm interested in getting the available options for a given template component. I'm not interested in the values in the dialog, but all of the possible fields specified in the dialog (both inherited and component specific) (whether they currently have values or not). How can I do this?
I am able to access the dialog
node for a component and manually iterate and filter down (looking for nodes with name
and fieldLabel
).
But I am stuck on getting inherited dialog properties from the classic UI dialog options for the base page component (/libs/wcm/foundation/components/page
) component, because the dialog options live in files such as: /libs/wcm/foundation/components/page/v1/page/tab_basic.infinity.json
. These files don't seem to live in AEM at that location, so where are they really located?
In the end, I want to specify a template component, and return back all of the possible dialog fields in a List or Hash.