How to: Create Data Sets
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
To access data in Microsoft Dynamics AX with Enterprise Portal, you must use a data set. After the data set is created, you will use the AxDataSource component in a User Control to access the data set.
Creating a Data Set
To create a data set
In the AOT, expand the Data Sets node.
Right-click the Data Sets node and then click New Data Set.
Right-click the new data set, and then click Properties.
Rename the data set by modifying the Name property.
Save the changes in the AOT.
Adding Data Sources to a Data Set
To add data sources to a data set
In the AOT, expand the Data Sets node.
Expand the node for the data set that you want to add a data source to.
Right-click the Data Source node and then click New Data Source.
Right-click the new data source and then click Properties.
Rename the data source by modifying the Name property.
Modify additional data source properties, as needed. For more information, see Data Set Data Source Properties.
If the data set will be used to save data, set the ChangeGroupMode property for the Data Sources node of the data set. This property control whether joined data sources will be saved independently or as a single unit.