Dynamics AX 2012 - XML (Magic xpi 4.9)
The Dynamics AX 2012 connector is designed to work with Magic xpi’s XML interface. When you drag the Dynamics AX 2012 connector into a flow, the Properties pane opens. Then, double-click or right-click on the connector and select Configuration from the context menu to open the connector's Configuration dialog box.
This dialog box contains the following fields:
|
|
Connection
|
Resource Name
|
The name of the resource that you selected in the component's Properties pane. The resources are defined in the Settings dialog box's Resources section..
|
Operation
|
Contract
|
Select the required contract from the drop-down list. This list is populated with contracts that are saved when you click the Load Service button in the Dynamics AX Resources section of the Settings dialog box.
|
Operation
|
Select the required operation from the drop-down list. This list is populated with all the operations that are relevant for use with the contract that you selected in the Contract field (above).
|
During the mapping stage, when working with Read, Update, and Delete operations, you should use the EntityKey element and not the KeyField element if you want to submit multiple record requests in a single execution. For a single record, you can use either the KeyField record or the EntityKey record.
|
|
Result Options
|
Store Result In
|
Defines where you want to store the resulting XML file. Select one of the following from the drop-down list:
-
Variable: Select a variable to hold the entity data that is returned by Dynamics AX. Click to open the Variables List. Select a variable where this information is to be stored (the default is C.UserBlob).
-
File: Select a file to hold the entity data that is returned by Dynamics AX. Click to open the Expression Editor, or click and enter the file path where this information is to be stored.
|
Operation Success
|
This field lets you easily determine if the data entity was successfully located in Dynamics AX. Select one of the following from the drop-down list:
-
None: Select this option if you do not want to save the connector’s success or failure status.
-
Variable: Click to open the Variables List. Select the variable where you want to store the connector's success or failure status.
|
|
Although not recommended, if you changed your schema manually, you need to set a new schema path in the XSD File property of the Dynamics AX 2012. You will see this property in the Properties pane on the Destination side of the Data Mapper. If you change the XSD path in this property, the schema's original root that was generated in the resource will not be changed.
|