Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to create Notification part as an Extension for Dynamics NAV?

CDsilva Profile Picture CDsilva 4,188

Hi Readers, I’m back with another blog on Extensions.

Introduction:

Notification has become very import part of our RoleCenters in Dynamics NAV. We get notified by emails or a note if our Job queues fail or some note send from a fellow employee but…… Notification is a System part hence its not visible if you use a web client i.e its a limitation of the web client.

https://docs.microsoft.com/en-us/dynamics-nav/feature-limitations-of-the-microsoft-dynamics-nav-web-client

The good news is we can customise it. Yay!

This blog explains how to create Notification part and add to the Role Center using Extensions for NAV 2018.

Pre-requisites:

  1. Microsoft Dynamics NAV 2018
  2. Visual Studio Code(VS Code)

Steps:

  1. Install VS Code with extensions for AL language and AL formatter
  2. In NAV 2018 Administrator, enable the two button as below under the Development tab

Capture111

3. Open Dynamics NAV Development environment, and open Order Processor Role Center in design mode . Delete the System Part My Notifications

order

4. Open VS Code and edit your launch.json file according to your specifications and download symbols (Ctrl +P)

launch

5. Create a new .al file as below

Note1

Note2

Note3

Note4

Note6

Note7

6. Add the List Part page as part to any desired Role Center.

Note8

7. The   app.json file and build your code using Ctrl+B and F5 to publish your code.

appjson

Your extension is now published. Launch your web client

result

Good Day!


This was originally posted here.

Comments

*This post is locked for comments