Showing posts with label Extension. Show all posts
Showing posts with label Extension. Show all posts

Wednesday, 30 November 2016

Code sample repo for developing extensions in Visual Studio


Welcome to the code sample repo for developing extensions to Dynamics NAV.

This repo contains AL language code samples for developing extensions on the Dynamics NAV platform. We're not yet in preview, so this repo is meant as a way for you to get familiar with the new syntax and provide feedback.


Microsoft has published sample files here.


Looking forward to play with Visual Studio development environment preview which may available for Christmas.


Monday, 7 March 2016

Cannot add the Field Trigger to Table 167 - NAV Apps/Extensions


Error Message:
Cannot add the Field Trigger to Table 167.

New-NAVAppPackage : Cannot add the Field Trigger to Table 167.
At C:\Mohana\NAVApps\NAVApps.ps1:12 char:3
+   New-NAVAppPackage -Path SectionsandBudgets.navx -SourcePath DELTA
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Dynam...ewNavAppPackage:NewNavAppPackage) [New-NAVAppPackage], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.Dynamics.Nav.Apps.Tools.NewNavAppPackage


Problem Statement:
System returns above error message when we try to create .navx file for App/Extension.

Solution:
Make sure that there is no local variable created under any trigger of newly created field.