Home / Power Apps / Using AI to Generate Custom Pages for Model Driven Apps
Using AI to Generate Custom Pages for Model Driven Apps
Use AI to accelerate custom page creation for model-driven apps. Helen Devlin covers where custom pages fit, how to prompt for layouts and components, and how to refine AI-generated drafts.
Speed up your app design process with AI. In Using AI to Generate Custom Pages for Model-Driven Apps, Helen Devlin shows how AI can help you plan, draft, and refine custom pages that extend the model-driven experience. You’ll learn where custom pages fit best, how they complement forms and views, and how to think about layout, navigation, and user goals before you generate anything.
Then you’ll explore practical ways to prompt AI for page structure, components, and logic ideas—while keeping your results aligned to Dataverse data and real business workflows. Helen shares tips for turning AI-generated drafts into polished, production-ready pages, along with lightweight guardrails for consistency, accessibility, and maintainability. By the end, you’ll have a repeatable approach to using AI as a fast, reliable design partner for custom pages.
Course Outline ( Free Preview)
Module 01 - Introduction
In this module, Helen introduces generative pages, an AI-powered feature that simplifies building custom pages for model-driven apps in Microsoft Power Apps. Students will learn how to use plain language and optional images to guide the AI in creating and refining pages quickly without manual coding. The module also provides foundational knowledge of model-driven apps and prepares learners to start generating pages using a pre-built solution.
Module 02 - Importing Our Solution
In this module, Helen guides students through importing a pre-built course registration solution into their Power Apps developer environment, emphasizing the need for Dataverse and appropriate licensing. The solution includes key tables—Course, Course Registration, Contact, and Payments—with defined relationships that underpin the model-driven app’s functionality. By setting up this foundational environment, students prepare to begin generating pages and building out their model-driven app in subsequent modules.
Module 03 - Generating Pages30 min.
In this module, Helen guides students through creating and customizing generative pages within a model-driven app using Power Apps. The focus is on building a user-friendly landing page with navigational buttons linked to key app components like course views, registrations, and billing forms, demonstrating both AI-assisted page generation and manual code editing. Students learn how to refine prompts for better AI output and directly modify React code to enhance functionality and user experience.
Module 04 - Generating a Second Page18 min.
In this module, Helen demonstrates how to create a second generative page in the Model Driven App Designer by providing more detailed prompts to the app agent, aiming to reduce iterative adjustments. He emphasizes the importance of clear, specific instructions—covering layout, data, and functionality—to guide the AI in generating a page that closely matches the desired outcome. The module also covers refining generated content through targeted re-prompts and updating navigation between generative pages for a seamless user experience.
Module 05 - Full Generative Prompt22 min.
In this module, Helen demonstrates how to craft a detailed and well-structured prompt to guide the app agent in generating a custom model-driven app page with related records and dynamic data displays. She emphasizes the importance of organizing prompt content clearly, attaching relevant tables, and including an inspirational image to improve the output’s accuracy and design. Through iterative refinement, Helen shows how to enhance the generated page’s functionality and appearance, highlighting the balance between AI-assisted development and manual adjustments for optimal results.
Helen Devlin is a Jacksonville native who graduated from the University of North Florida with a Bachelor's degree in Elementary Education in 2016. After 9 years of teaching varying grades (K-5) in Florida and Tennessee, she joined the Pragmatic Works team as a Power Platform Trainer. As a trainer at Pragmatic Works, her primary goal is to help individuals gain confidence in using the Power Platform. While not in the office, she enjoys coffee, brunch, local parks, and spending time with her family.