I’m not able to locate or access the openDialog method when trying to invoke it from custom code.
Could you please share the correct import statement or usage pattern for this method within the alpha ?
I tried with pages and pages.pagelist but both gives me an empty array
You can use ap.pages.getGLobalPages() to get global pages.
The page you are opening as a dialog should be a global page.
I have added an example of a clear snippet code below, provided that the page you will be opening as dialog is “Appointment Form - Dialog“.
It seems like the await ap.pages.getGLobalPages(), the L after g on GLobalPages is not required to be capitalized anymore.
Here is the updated code below for getting global pages.