Step 2 - Create Delta files

Because Extensions use the Delta file format, we must run the command that creates Delta files. Delta files are outside of the scope of this book, but information can be found in MSDN at: https://msdn.microsoft.com/en-us/library/dn762344(v=nav.90).aspx

To create Delta files we must export all the objects from our Dynamics NAV database and compare them to a similar export from a clean Microsoft database.

The following script is used to create the Delta files:

Compare-NAVApplicationObject    -OriginalPath "Q:WDTUOrriginal.txt" `                                 -ModifiedPath "Q:WDTUExample.txt" `                                 -DeltaPath "Q:WDTUDelta" -Force

In the preceding script, Q:WDTU represents a location in your filesystem where the extension will be created.

The result ...

Get Programming Microsoft Dynamics NAV - Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.