Stage 7 of 17
3 environments, publisher, solution, 9 tables with columns and relationships, calculated Risk Score column, and test data. Everything in dependency order.
Premium Licensing Required
| Item | Value | Example | Notes |
|---|---|---|---|
| Publisher Prefix | dtod | dtod_Application | All custom tables, columns, and relationships get this prefix. Prevents conflicts with Microsoft standard tables. |
| Solution Name | DToDApplicationPortfolio | DToDApplicationPortfolio_1_0_0_0 | No spaces. Version number appended on export. |
| Environment — Dev | Contoso-APM-Dev | Contoso-APM-Dev | Convention: OrgName-SolutionAbbr-Env |
| Environment — Test | Contoso-APM-Test | Contoso-APM-Test | |
| Environment — Production | Contoso-APM-Prod | Contoso-APM-Prod | |
| Flow Names | DToDLab020-[FlowName] | DToDLab020-EOLReminder | Prefix identifies the lab. Makes flows easy to find in the environment. |
| Table Display Names | Singular noun | Application (not Applications) | Dataverse convention. The plural is used automatically in views. |
Create the Development Environment
Important
Developer environments are free and suitable for this lab. If you are using a work tenant, check with your administrator before creating environments — some organisations restrict environment creation.
Create the Publisher
Important
The publisher prefix is permanent. Once you have created tables and columns with the dtod_ prefix, changing the publisher prefix would break all existing references. Choose carefully.
Create the Solution
Important
Always work inside the solution. If you create a table outside the solution, it will not be included when you export and deploy. This is the most common ALM mistake.
Create the Tables
Important
Create tables in dependency order. If you try to create a Lookup column on Application pointing to Business Owner before the Business Owner table exists, the lookup will not be available.
Add Columns and Relationships
Important
The Integration table has two lookups to the Application table — Source Application and Target Application. This is valid. Dataverse supports multiple lookups to the same table.
Add the Calculated Column
Important
Calculated columns in Dataverse update when the record is saved, not in real time. If you change Likelihood and do not save, the Risk Score will not update until you save the record.
Enter Test Data
Important
Enter data in dependency order. You cannot create an Application record with a Business Owner lookup until the Business Owner record exists.
Why Are We Doing This?
The Prepare stage feels like administration, but it is the foundation of everything that follows. A wrong publisher prefix cannot be changed. A table created outside the solution will not deploy. An environment created without Dataverse cannot host a Model-Driven App. Getting these decisions right now prevents hours of rework later.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.