The AL developer environment is evolving with frequent updates. To stay up to date on the latest information and announcements, follow us on the Dynamics NAV Team Blog.

Generating Delta files

You can use the Compare-NAVApplicationObject powershell cmdlet to generate .delta files from two versions of a set of application objects.

The cmdlet has a ExportToNewSyntax switch that allows generating .delta files that can be used as a starting point for creating V2 extensions. Setting the ExportToNewSyntax flag generates .delta files that contain additional information needed to generate the correct structure and layout of V2 extension objects.

Important

The Txt2Al conversion tool will reject .delta files that were generated without using the -ExportToNewSyntax flag.

Using the ExportToNewSyntax switch for the Compare-NAVApplicationObject cmdlet produces a .delta file that can be converted to a V2 extension.

The ExportToNewSyntax flag

Parameter Description
Type SwitchParameter
Aliases None
Position Named
Default value None
Accept pipeline input False
Accept wildcard characters False

Example

Compare-NAVApplicationObject -OriginalPath "C:\PageWith2Controls.txt" -ModifiedPath "C:\PageWith3Controls.txt" -ExportToNewSyntax

See Also

The Txt2Al Conversion Tool
Developing Extensions
Converting Extensions V1 to Extensions V2