Loading...

DYNAMICS 365 CRM ADDING ENTITY METADATA AFTER ADDING THE TABLE TO A SOLUTION

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.

This article covers how to manually add only the entity metadata after including the table in a solution:

🧠 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.
    By explicitly including entity metadata after adding the table, you avoid pitfalls and ensure that your solution behaves reliably across environments.

  • 🎯 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.

✅ If you've already added a table and forgotten to include metadata, here are the steps to do it without removing the entity from the solution:
  • 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.


Hope This Helps!

Published on:

Learn more
Need help with this product?

We 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.

Dynamics 365 Education and Knowledge
Dynamics 365 Education and Knowledge

Share post:

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 ...

1 year ago

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 ...

1 year ago

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,...

2 years ago

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...

2 years ago

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...

2 years ago

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...

2 years ago

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. ...

2 years ago

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...

3 years ago

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...

3 years ago

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...

3 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.