I have created a custom panel section, that lists pages as tree with children as table and want to add the create page button with the page create dialog:
I`m aware that the dialog has to load some props in order to show my desired fields, question is, what do I have to do to define the dialog in my custom section to do just that, without doing hard coded stuff and react to in the page blueprint defined create fields?
@PatrickFox Do you have a normal pages section in your blueprint that correspond to the options you need and your customs section is only in addition to that (meaning the dialog could just use the default pages section dialog)? Or shall your custom section stand fully on its own (meaning it would have to implement the dialog handling itself)?
Maybe either way the PageCreateDialog class needs not just parent and view as query parameters, but also the name of the section as section. Try adding this and let’s see how far that gets you.