Skip to content
Microsoft Dynamics 365 Blog

Control Add-In dll’s files in Microsoft Dynamics NAV 2015 

With Microsoft Dynamics NAV 2015 there comes one feature in Add-In files area – you do not need manually to copy add-in dll to client: when client doesn’t find it, NAV copies add-in from server. It is very good: If you’ve installed NAV client on some computer, you don’t care about all add-ins, when user...

Read more

How to control keyboards events in Add-in 

With Microsoft Dynamics NAV Role Tailored Client we’ve received possibility to add ControlAddIn to any field on page. This opens huge possibilities to extend functionality with own controls. We can create any .Net control with Visual Studio, register it in NAV controls and add it to any field on page by describe control name in...

Read more

Memory usage when is used .NET components 

We already had few support request where NAV developers see big memory consumption increase when using .NET component.Especially when method is inside some loop.Like in this sample:   FOR count := 1 TO 10000000 DO BEGIN        varDOTNET :=varDOTNET.DotNetObject();        varDOTNET.SetValue('par');        CLEAR(varDOTNET);   END;   Even it looks like we create variable and then clear it – we can...

Read more

“Timer” usage in Microsoft Dynamics NAV 2013 

Last time we have seen our “old” NTimer.dll was Microsoft Dynamics NAV 2009. It was placed in  ..\Common\Microsoft Dynamics NAV\Timer.. folder. Usually we have used it for NAS or other looping tasks. We want to have the same in Microsoft Dynamics 2013 and later, however we see that the same doesn’t work anymore. So how...

Read more

Synchronize metadata, please… 

One of new procedures/functions we have in NAV 2013 R2 is “metadata synchronization”. It is process when object (table) description done in C\SIDE by NAV developer is applied to SQL object (object structure in SQL becomes the same as we have in NAV object designer). It is described at http://blogs.msdn.com/b/nav/archive/2014/03/27/table-synchronization-paradigm-in-microsoft-dynamics-nav-2013-r2.aspx Unfortunately synchronization step is not...

Read more

Microsoft Dynamics NAV 2013 SharePoint client installation moments 

Just few words about Microsoft Dynamics NAV Portal Framework installation. Really installation is simple and straight forward. Usually just click setup.exe on installation DVD, choose install SharePoint portal framework, set few parameters and next,next, next… Simplest scenario described at http://msdn.microsoft.com/en-us/library/hh168267(v=nav.70).aspx How to install framework on multiple computers described at http://msdn.microsoft.com/en-us/library/hh168993(v=nav.70).aspx And usually everything goes OK...

Read more

PAGE.RUNMODAL actions change in Dynamics NAV 2013 

In Dynamics NAV 2009 page.RUNMODAL can have actions OK, Cancel, LoookupOk, LookupCancel, Yes, No, Close, FormHelp, RunObject, RunSystem. Like it is described at http://msdn.microsoft.com/en-us/library/dd355151.aspx you can create code like: IF Page.RUNMODAL(21, MyRecord, …) = Action::Close THEN…; But in Dynamics NAV 2013 actions list is changed to OK, Cancel, LookupOK, LookupCancel, Yes, No, RunObject, RunSystem (http://msdn.microsoft.com/en-us/library/dd355151(v=nav.70).aspx...

Read more

Memory usage in Microsoft Dynamics NAV 2013 print preview 

Periodically we receive requests where customers asking us about RTC print preview consumes all available memory and computers hangs. Repro scenarios are more/less similar: run report, click preview, go per pages up/down, close report. Run another report, click preview, go per pages up down and… RTC hangs. If we look to memory usage, NAV is using all...

Read more

How to start any object in Role Tailored Client 

Sometimes we need to run some specific object (page, report, codeunit or xmlport) on Microsoft Dynamics NAV 2013 Role Tailored Client. Let say we want to test report received from customer on our Cronus demo db. The easiest way is of course to run report directly from Microsoft Dynamics NAV 2013 Development Environment Object Designer....

Read more