Migrate Dataverse Data Between Environments Using the Data Migration Utility
[Power Pages Tutorial #2] Create Schema in Dataverse
In this second installment of the Power Pages series, Brian Knight from Pragmatic Works walks through how to create a robust data structure using Dataverse. This foundational step is essential for building scalable and secure Power Pages solutions, as Dataverse serves as the backbone for storing and managing application data.
Understanding Dataverse in Power Pages
Brian explains that Dataverse functions as a SQL Server-based database behind the scenes, but with added benefits such as built-in security, auditing, and seamless integration with tools like Excel. These features eliminate much of the manual setup typically required when working directly with databases.
- Column-level and row-level security
- Audit tracking for record creation and updates
- Integration with Microsoft tools like Excel
- Prebuilt data structures for common business scenarios
Why Start with a Solution?
Before creating tables, Brian emphasizes the importance of working within a solution in Dataverse. A solution acts as a container for all components such as tables, flows, and apps, making it easier to manage and migrate across environments like development, QA, and production.
Key steps include:
- Navigate to make.powerapps.com and select the correct environment
- Create a new solution (e.g., “Project Management”)
- Define a custom publisher with a unique prefix
The publisher prefix ensures consistency and avoids naming conflicts by automatically tagging all created objects.
Designing the Core Data Tables
The tutorial focuses on creating three primary tables that will support the Power Pages application:
- Project Table: Stores all project records
- Proposal Table: Captures vendor submissions and bids
- Proposal Documents Table: Stores supporting documents such as contracts and schedules
Creating the Project Table
The Project table is the simplest of the three. It primarily includes a name column that identifies each project. This acts similarly to a title field and is used for easy reference across the system.
Building the Proposal Table
The Proposal table is more complex and includes several important fields:
- Proposal Number: Configured as an auto-number field
- Project: Lookup column linking to the Project table
- Vendor: Lookup to the Account table
- Applicant: Lookup to the Contact table
- Proposal Cost: Currency field with automatic base currency handling
- Payment Structure: Multi-line text field
- Proposal Status: Choice field (Submitted, Under Review, Approved, Rejected)
Brian highlights the importance of using lookup columns to establish relationships between tables, ensuring data consistency and relational integrity.
Creating the Proposal Documents Table
The third table focuses on storing documents related to proposals. Attachments are enabled to allow file uploads directly within the system.
Key fields include:
- Document Number: Auto-number field
- Proposal: Lookup to the Proposal table
- Document Type: Choice field (e.g., NDA, Schematic, Project Schedule)
- Other Document Type: Text field for custom entries
Enhancing User Experience with Views and Forms
After building the tables, Brian demonstrates how to configure views and forms to improve usability:
- Create views to display relevant columns such as project, vendor, and status
- Customize forms to control how users input data
- Add components like timelines to display attachments
These configurations ensure that both internal users and external portal users have a clear and efficient interface.
Building a Model-Driven App
To manage the data, Brian creates a model-driven app that includes all relevant tables:
- Projects
- Proposals
- Proposal Documents
- Accounts and Contacts
This app provides a backend interface for managing records and testing the data structure before exposing it through Power Pages.
Key Takeaways
- Dataverse is the core data platform for Power Pages
- Always start with a solution for better organization and deployment
- Use lookup columns to create relationships between tables
- Leverage built-in features like auditing, security, and attachments
- Model-driven apps help validate and manage your data structure
By the end of the video, Brian successfully establishes a complete schema that prepares the Power Pages application for the next phase—displaying and securing data. This structured approach ensures scalability, maintainability, and a seamless user experience.
Don’t forget to check out Pragmatic Works’ on-demand learning platform for more in-depth training on Power Pages, Dataverse, and other Microsoft technologies.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Pages and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.
Sign-up now and get instant access
ABOUT THE AUTHOR
SQL Server MVP and founder of Pragmatic Works. Brian has been working with SQL Server as a DBA and business intelligence professional since 1998. He has written more than 15 books on the topic and has spoken at dozens of conferences.
Free Community Plan
On-demand learning
Most Recent
private training

Leave a comment