Index Synchronization Issue Resolution

Post #2: Trailing is a guide on how to resolve a Microsoft Dynamics 365 for Operations index synchronization issue. The issue is that once a developer has modified any table indexes without changing any field, the modifications will not be synchronized to SQL server, while Visual Studio synchronization procedure will not throw any error.

For example, a new Table1 table with FiledString1 and FiledString2 was created and synchronized to SQL:

After creating an index to the table, it will not be synchronized by Visual Studio with default settings. The interesting thing is that Visual Studio throws no error, it just ignores index modifications during synchronization regardless of the way the synchronization process was executed – project, model or full synchronization:

 

Proper Way to Execute an Index Synchronization

Visual Studio should be opened with FallbackToNativeSync = true. To change the FallbackToNativeSync parameter, go to following folder/file:

In this file, locate the FallbackToNativeSync parameter and change it to true:

After that, run Visual Studio once again and synchronize the table. Now the index should be synchronized properly:

 

Enavate
Blog

Related posts

June 6, 2022 cloud

Microsoft Dynamics 365 Business Central vs. Finance and Operations

Microsoft ERPs have evolved over the past several decades to accommodate new business needs, technologies and opportunities. Greater access to and use of the Cloud has made...

December 2, 2021 Microsoft Dynamics

The Future of Dynamics 365 F&SC Specialists

I want to share my thoughts on Dynamics F&SC changes Microsoft announces and on those technologies that will be in demand in the Dynamics world down the road.

October 14, 2020 Microsoft Dynamics

Augmented Reality in Supply Chain Management: What it Means for You

You may know about augmented reality (AR) and virtual reality (VR) from the video gaming world. Augmented reality has a place in manufacturing and distribution, as well, and...

Subscribe to our newsletter