Generating Delta files

You can use the Compare-NAVApplicationObject PowerShell cmdlet to generate .delta files from two versions of a set of application objects. For more information about the PowerShell cmdlet, see Compare-NAVApplicationObject.

The cmdlet has a ExportToNewSyntax switch that allows generating .delta files that can be used as a starting point for creating extensions. Setting the ExportToNewSyntax flag generates .delta files that contain additional information needed to generate the correct structure and layout of 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 an 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

The Txt2Al Conversion Tool
Developing Extensions
Converting Extensions V1 to Extensions V2
Compare-NAVApplicationObject