When you extend Microsoft Dynamics NAV with a mobile application, such as Mobile Sales, you must set an Application Server instance to process incoming request documents from the mobile devices. You can use either the mobile document dispatcher or the mobile queue processor. This topic describes the mobile document dispatcher. For more information about the mobile queue processor, see How to: Configure Application Server for Microsoft Dynamics NAV to Use the Mobile Queue Processor.

The mobile document dispatcher receives requests from the Microsoft Dynamics® Mobile document service and stores them in the mobile document queue for direct or later processing. You can schedule a job to process the request document queue at specified intervals.

NoteNote

Before you continue, you must have created a user account for Application Server. You can, for example, create a user account in your Windows domain or locally on a computer and set the Application Server service to run as this account.

To configure Application Server to use the mobile document dispatcher

  1. Create a Windows user account for Application Server.

    For example, create an Active Directory account in your Windows domain or a local account on a computer, and then set the Application Server service to run as this account.

  2. In Microsoft Dynamics NAV, create a Windows login for the user account, and assign the following roles to the Application Server login:

    • ALL

      This standard role grants access to fundamental tables and functions.

    • MOB-SERVER-NAS

      Mobile security role for Application Server.

    • The appropriate roles for each document type that Application Server processes.

  3. In Application Server Manager, set the Application Server instance to run with the startup parameter MOB PORT=port number.

  4. Optionally, in Microsoft Dynamics NAV, set up jobs that process the request documents from the queue.

Security

To make the implementation more secure, you can set up an Application Server for each Microsoft Dynamics NAV role that must submit documents from mobile devices, so that Application Server only has the access that the role defines. For example, if you assign a role, such as S&R-Q/O/I/R/C, to a group of mobile users, you can create an Application Server instance and assign this instance the S&R-Q/O/I/R/C role.

In the configuration of the Microsoft Dynamics Mobile - Server Components document service, you must then define endpoints that are specific for each of the relevant roles. These endpoints must point to the correct Application Server instance. For more information, see Microsoft Dynamics Mobile Installation and Configuration Guide online.

See Also