Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Enable change tracking on all entities at once

Posted on by 155

Hi 

I want to use Data Export Service but as I have read that one of the pre-requisites is to enable the change tracking for all the entities which are meant to be exported. 

Is there any way to enable 'Change Tracking' in bulk for all the entities? Preferably without a code. 

Thanks

  • Maryam Hashemi Profile Picture
    Maryam Hashemi 10 on at
    RE: Enable change tracking on all entities at once

    Hi Arafat,

    I am looking for a same resolution. Have you find any better way?

    [quote user="Arafat"]

    Hi 

    I want to use Data Export Service but as I have read that one of the pre-requisites is to enable the change tracking for all the entities which are meant to be exported. 

    Is there any way to enable 'Change Tracking' in bulk for all the entities? Preferably without a code. 

    Thanks

    [/quote]
  • Arafat Profile Picture
    Arafat 155 on at
    RE: Enable change tracking on all entities at once

    Yes, I encountered a similar response in StackOverflow. However, I am looking for a better option. May be someone has already done this work? 

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Enable change tracking on all entities at once

    Hi Arafat Tehsin,

    If you are not prepared to manually update the change tracking setting for all the entities then you will need to update this value programmatically. To achieve this you will need to retrieve and iterate through all entities by using the RetrieveAllEntitiesRequest Class and update the EntityMetadata.ChangeTrackingEnabled Property on each entity. This property gets or sets a Boolean value that specifies whether change tracking is enabled for an entity or not.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans