How To Make Dialogs With Generative Pages


Generative Pages enhance model-driven app user experience by allowing the creation of dialogs that maintain context and efficiently return user selections. Unlike Custom Pages, which lacked structured parameter passing and had performance drawbacks, Generative Pages offer better performance and allow parameters to be passed into a page, enabling structured output to the caller. This capability transforms Generative Pages into reusable components within model-driven apps, providing a tailored user interface that's more seamless than traditional dependent lookup fields. For example, a Project and Milestone picker allows users to view the hierarchy in one place and select both elements with a single click. Generative Pages can be opened via dialogs using the Xrm.Navigation.navigateTo method, with various input parameters controlling its presentation and functionality. When the dialog closes, the caller receives structured output, allowing immediate action based on user selections. Despite some limitations in documentation, this method remains highly functional and promising for developers seeking enhanced app interactions.


Article 1m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time