Build model-driven app dialogs with Generative Pages
Diesen Beitrag auf Deutsch lesen
Use navigateTo to open a Generative Page dialog, pass context through pageInput, and return selected Dataverse records to the calling form.
TL;DR
Generative Pages in Power Apps model-driven apps can open as dialogs through Xrm.Navigation.navigateTo with pageType generative and target 2. Callers pass entityName, recordId, and custom data; pages can return project and milestone records through result.returnValue. The output and closing pattern described is undocumented, so use it cautiously.
Original by Diana Birkelbach, on Dianamics PCF Lady. Read the original
This is our own summary, not a republication or full translation.
Why it matters
- Makers: Use pageInput data, entityName, and recordId to turn a Generative Page into a contextual picker dialog.
- Makers: Handle result.returnValue to populate Dataverse lookups with returned record IDs, names, and logical table names.
- Admins/IT: Watch the undocumented setPageOutput and navigateBack pattern because its support status or signature may change.
