Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

What could be the challenges of not Including entity metadata in unmanged solutions ?

(0) ShareShare
ReportReport
Posted on by 120

Hi All, 

I was going through the link Include entity metadata in solutions to avoid entity audit being disabled and learned that it will cause issues when we do not include entity metadata in a managed soluiton. Is it the same case with unmanged solutions ?

I was developng a tool to add the entities to an unmanged solution using the following code where I also didn't include the metadata. This is because when I validate the exported solution's customizations.xml using XSD it was giving errors for tags. 

 

 AddSolutionComponentRequest req = new AddSolutionComponentRequest
                        {
                            ComponentType = 1,
                            ComponentId = (Guid)selectedEntity.MetadataId,
                            SolutionUniqueName = _solutionUniquename,
                            DoNotIncludeSubcomponents = true,
                            IncludedComponentSettingsValues = new string[0] //Do not include entity metadata

                        };

I use this tool to modify the customizations.xml ,pack and reimport to the organization.   I am using the online version

Please provide your thoughts on this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans