NAV Client Development

Recently I was exploring Web Client of NAV 2016  (One of nice client of NAV) and found that lot of things got disturbed when view the custom pages on web client (I was under impression that everything will show correct on web pages automatically).Of  course I read the limitations of NAV but I was not aware that it will hamper so much on custom pages where we are  switching controls  based on the condition/process i.e show/hide the controls.

But now what to do this is not working as per windows client  Sad

Am I need to do fresh development for web pages ??? Oh this will kill the time and more on investment.

By searching I come across some new functions defined by NAV and I was like Big SmileBig Smile

They come up with something like DEFAULTCLIENTTYPE,CURRENTCLIENTTYPE functions

Using these function one can write the different code for different client like Windows,Web,Tablet,Mobile

How Do I use:

Defaulclienttype :- This functions always return the value ‘Windows’ even after viewing on other client of NAV

CURRENTCLIENTTYPE :- This functions return the NAV client type that is running in current session. As well as one can use this function to GetURL of the current client

One can written the different program for web client and windows client.

You can write something like

    <Your program goes here>

To Get URL
You can write


Using this functions could manage some of functionalities to view on the web client but still some resistance (due to limitations of web client) is there.

If the page contains any actions button switch off/on based on some process and one has return program using visibility property of page  then it will not refresh automatically one Need to press ‘F5’ whenever the page need to refresh. Surprise

Hope in coming future Microsoft will come up with some features which will enable everybody to use web client just like windows client (RTC)

Looking forward for NAV 2017 Web Client.


Author: Ammolh Saallvi

I'm a Dynamics NAV/Navision developer and helps partners and end-users with their NAV implementations. I do everything from third-party management advisory, training to new NAV teams, project management, training, setup and development. Do you want to hire me to help getting your project a success? Then contact me via dropping one email from linkedin Expertise in end-to-end development of software products from requirement analysis to System Study, Documentation and Testing. Demonstrated abilities in analyzing information system needs, evaluating end-user requirements, custom designing solutions, troubleshooting for complex information systems management. Deft at carrying out risk analysis, impact analysis, project reviews and documentation. Strong Problem solving & Technical skills coupled with confident decision making for enabling effective solutions leading to high customer satisfaction as well as low operational costs. Certifications:- Microsoft Certified Technology Specialist -Dynamics Microsoft Sure Step Certified Professional Moderator at DUG Forum Specialties: • ERP Implementation • Client/Server Programming • Coding, Testing, troubleshooting and documentation. • Database Tuning and SQL • Database Performance • Debugging large programs • Project Management and Resource Management.

2 thoughts on “NAV Client Development”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.