Microsoft Dynamics AX 2012

Microsoft Dynamics AX 2012 support

Overview

The document contains information about the configurations needed to connect Dynamics Mobile App with Microsoft Dynamics AX 2012.

Connecting Dynamics Mobile with Microsoft Dynamics AX 2012 goes via Dynamics Mobile Agent. The reason is that usually Microsoft Dynamics AX 2012 instances are deployed behind firewalls, so it can not directly communicate with Dynamics Mobile Cloud.

Dynamics Mobile Agent can help to overcome this . It acts as a "proxy" between Dynamics Mobile Apps and Microsoft Dynamics AX 2012.

The document contains information about the configurations needed to connect Dynamics Mobile App with Microsoft Dynamics AX 2012.

Connecting Dynamics Mobile with Microsoft Dynamics AX 2012 goes via Dynamics Mobile Agent. The reason is that usually Microsoft Dynamics AX 2012 instances are deployed behind firewalls, so it can not directly communicate with Dynamics Mobile Cloud.

Dynamics Mobile Agent can help to overcome this . It acts as a "proxy" between Dynamics Mobile Apps and Microsoft Dynamics AX 2012 and allows the app to bypass the cloud and use "Direct Live Link"

This allows the apps developed on top of Dynamics Mobile SDK to :

  • consume data originating from AX 2012 in offline mode

  • send transactions to AX 2012

  • consume, create, update data originating from AX 2012 in online mode ( also called Livelink)

Prerequisites

The following is required before the configuration of the system begins

  • Microsoft Dynamics AX 2012 instance with the following setups:

    • Activated AIF(web services)

    • Dedicated AX user for Dynamics Mobile

    • Dynamics Mobile Add-on deployed in AX 2012

    • Deployed Dynamics Mobile Agent visible via internet from Dynamics Mobile Cloud

If the mobile applications needs to consume on-line data via livelink, the administrator needs to activate and configure the live link. The direct live link configuration is provided for each user role, separately. via the User Role's Settings screen. Please consult with the following page for general information about working with User Role Settings.

Direct Livelink for Microsoft Dynamics AX 2012 requires the following parameters to be provided

Parameter name

Values

Notes

type

dmsagent

Must have value dmsagent

servicePath

string

The path portion of the URL used to connect to Dynamics Mobile Agent. default value: navmobile

host

string

The name of the host (internet name) where the Dynamics Mobile Agent is visible via internet. It may be DNS name or IP address

111.123.111.111

port

number

the TCP port where the Dynamics Mobile Agent service is published. Usually 80 or 443.

protocol

http or https

The protocol used to communicate with the instance. Supported are http or https.

The format of the setting in the User Role, requires the settings to be wrapped in an object property with name liveLinkService_[MYNAME] , where NAME is arbitrary name dependent on the actual mobile or backend application.

The following example configures a service called warehouseService.

It will allow the mobile devices to use livelink configuration called "warehouseService"

{
  "language": "en",
  ....
  "liveLinkService_warehouseService": {
    "type":"dmsagent",
    "servicePath":"navmobile",
    "host":"111.211.311.411",
    "port":"443",
    "protocol":"https"
  }
 ...
}

Last updated

Dynamics Mobile provided by Mobile Affairs Ltd. | 1712 Sofia, Bulgaria, Alexander Malinov 51 | sales@dynamicsmobile.com