Select Role Center on NAV 2009 RTC Startup

There are a few standard solutions for accessing different role functions:

  • Other role functions are accessible via Departments menu. But having a dedicated Role Center makes it even easier.
  • It is possible to have several shortcuts to NAV where the Role Center name is entered in parameters string. While it is a solution that works, it is done not via NAV and is often not so easy for users who are not advanced.
  • It is possible to develop special Role Centers according to specific users' requirements. This is good solution when users mostly do the same actions from several Role Centers.

I would like to tell you about one more intelligent option. With a small modification, it is possible to prompt the NAV application to ask which Role Center (profile) the user wants to use. How does it work?

Web Services using XMLPorts

As many developers know, Pages and Codeunits can be exposed as Web Services. When using a Codeunit as a Web Service we ordinarily use simple data types as function parameters. It is also possible to pass XMLPorts. Let's view an example and test it.