NAV 2009 R2 System Indicator

As you might have noticed .. in NAV 2009 it was quite difficult to clearly show in which database you were working in.. . I had written a small solution for that in the classic which I blogged about here. Mark had foreseen a solution in the RTC here and we developed an Add-In which looked quite the same as we had in the classic:

Configurable colors, more information ... . Easy to create, and default part of our product.


Microsoft has come up with quite a neat solution as well.. . The System Indicator is part of the product from the new NAV 2009 R2 release.

How does it work?

Well .. very similar as how my solution was working. You have some new setup fields in the "Company Information" page:

First of all, you have the option to show a "custom text (as you see here..), but you can also show:

  • "Company Information"
  • "Company"
  • "Database"
  • "Company+Database".

When set up, it's going to show the selected information in the action-bar (if I can call it like that) on top of every page:

Furthermore, you've got the "Indicator Style" property as well to "play with". Now, This is a little bit "unfinished" in my opinion. They called it "Accent1", "Accent2".. "Accent9". Why not just tell the background colors? Well, to help you, I spent some time with snagit .. and here is the list :-):










As you might have expected, there is an extra function in "Holy Codeunit 1": GetSystemIndicator. It is called on startup .. (so maybe useful in some way? :-)) and will be searching for the setup in the Company Information .. (extra function in the Company Information table - don't like the design though). It contains two VAR-parameters: for the text and for the color. You can easily extend or change this default behavior using this function.. .

Hope you find it useful.. . I always liked the coloring-feature in our Add-In because it's a simple and clear indicator in which database you're logged into.. much better than text.. .

So, now there is an out-of-the-box solution for this small (but necessary) request .. :-).

By the way, there are already some blogs about this as well.. :

Comment List