DYNAMICS 365 CRM ADDING ENTITY METADATA AFTER ADDING THE TABLE TO A SOLUTION
In Microsoft Dynamics 365 CRM, solutions function as the fundamental units for packaging, deploying, and managing system customizations across environments.
By default, when a table is added to a solution, only a subset of its components is included.
This can lead to deployment failures or functional discrepancies if dependent components (such as views, forms, or metadata) are omitted.
To ensure consistency and completeness during solution transport, it's often necessary to explicitly include additional components within the solution.
One such critical component is the table’s metadata, which governs schema-level definitions and behaviors essential for proper execution in target environments.
🧠 Key insights into metadata and why it matters:
-
🧱 Table Segmentation:
In Dynamics 365, you can segment tables by including specific components or metadata when adding them to a solution.
-
🔍 Including Metadata:
When segmenting a table, you have the option to include "table metadata" that encompasses properties like auditing, duplicate detection, change tracking etc... without including the table's individual components like columns, views, forms, or other components.
-
💡 Why Include Metadata?
This is useful when you need to apply changes to the table's core settings or behaviors without needing to include all the table's components in the solution.
For example, if you enabled auditing or change tracking in your development environment and want these changes to be deployed to another environment, you must include the table metadata.
-
🧩 Including metadata ensures:
- Consistency across environments.
- Completeness of the table’s configuration.
- Avoidance of manual rework or patching missing components post-deployment.
-
🎯 All or Nothing:
Currently, it's an "all or nothing" approach when including metadata; you can't selectively choose which metadata to include. However, Microsoft says they are aware of the need for selective metadata inclusion.
-
Using Classic Interface:
- Go to Settings > Solutions and open your existing solution.
- Click Add Existing > Entity to verify if the table is already added.
- Open the Solution and locate the table already included.
- Click on the table name to open its configuration screen within the solution.
-
Once inside the table's configuration window, click "Add Subcomponents" button.
-
In the Add components pop-up, you’ll see tabs for Forms, Views, Fields etc. To specifically include the metadata, tick the "Include entity metadata" checkbox.
- Click Finish after including the necessary metadata.
-
Back in the solution window, Publish All Customizations to ensure changes take effect.
-
Using Power Apps Maker Portal
- Open the Power Apps Maker Portal and select the appropriate Environment.
- Go to Solutions, and open your existing solution.
- Click Add Existing > Table to verify if the table is already added.
- Locate the table already included.
- Click on the table name to open its settings screen within the solution.
-
From the ribbon, click Advanced > Table Segmentation Properties.
-
In the Table Segmentation Properties pane, tick the "Include table metadata" checkbox.
- Click Save and publish customizations to ensure changes take effect.
Published on:
Learn moreWe can help you with DYNAMICS 365 CRM ADDING ENTITY METADATA AFTER ADDING THE TABLE TO A SOLUTION
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.
Related posts
How to Remove an Active Unmanaged Layer from the Ribbon in Power Apps (Dynamics 365 CRM) Using ribbondebug=true
Customizing the ribbon (command bar) in Dynamics 365 CRM via Power Apps can be a powerful way to tailor the user interface ...
DYNAMICS 365 CRM HOW TO CHECK THE IMPORT SOLUTION PROGRESS
Importing solutions to the DEV, TEST, UAT or PROD environments in Dynamics 365 CRM is a common activity for system ...
HOW TO GET MICROSOFT DYNAMICS 365 FORM TYPE IN JAVASCRIPT
If you're working on forms within Microsoft Dynamics 365 and seeking to understand how to create different types of forms - such as Main Form,...
DISABLE ALL FORM FIELDS IN DYNAMICS 365 USING JAVASCRIPT
If you're working with Dynamics 365 and need to disable all form fields using JavaScript, this article has got you covered. There are three op...
CHANGE ROLLUP FIELD RECURRENCE SCHEDULE IN DATAVERSE / DYNAMICS 365
If you're using Dynamics 365, you might find the roll-up field feature useful for performing aggregation and calculation of data in a parent r...
OPEN DYNAMICS 365 ADVANCED FIND BY DEFAULT IN DETAILED MODE
If you use Advanced Find in Dynamics 365, you can optimize its usage by opening it in detailed mode by default. Normally, when you open the Ad...
SEARCH BY GUID IN DYNAMICS 365
Have you ever wondered if it is possible to search for a CRM record using its GUID in Dynamics 365? Well, the answer is both NO and YES. ...
SAVE FORM IN DYNAMICS 365 JAVASCRIPT
Are you curious about how to save a CRM form automatically in Dynamics 365 using JavaScript? Look no further! This tutorial will guide yo...
CHANGE CONTROL LABEL DURING RUNTIME IN DYNAMICS 365 USING JAVASCRIPT
If you're working with Dynamics 365 and require changing control labels at runtime, worry not. This blog post presents a simple solution using...
CHECKING DIRTY FIELDS IN DYNAMICS 365 USING JAVASCRIPT
In Dynamics 365, it is crucial to know which fields have been modified on the form during an update. While creating a plugin to receive data o...