Search Wiki:

Code samples for Microsoft Dynamics AX


EP - Data Binding


EP comes with a rich set of bound fields. This code sample demonstrates how to extend and add bound fields in EP for specific user interface requirements. This sample contains three types of bound fields:

  • Multi-line text
  • Day/month/year dropdown
  • Foreign key lookup that displays a description instead of an ID

Data binding provides an easy and powerful way to create a read/write link between controls on a Web page and the data in an application. With ASP.NET data binding, you can bind any server control to an AxDataSource control in EP and read and write data from Microsoft Dynamics AX seamlessly with little or no server code.



AIF - Calling the Customer Service in Microsoft Dynamics AX 2009


This code sample demonstrates how to call the customer service from X++. This XPO contains a job that shows you how to call the following service operations from the customer service:
  • read
  • create
  • find
  • findKeys
  • update
  • delete
You can use these service operations to create a customer, read a customer record, delete a customer and so on from X++.



AIF - Calling the Vendor Service in Microsoft Dynamics AX 2009


This code sample demonstrates how to call the vendor service from X++. This XPO contains a job that shows you how to call the create service operation and create a vendor.



Enterprise Portal QuickStart: Creating Multi-Section Forms in Microsoft Dynamics AX 2009


This article demonstrates how to create multi-section forms in Enterprise Portal.



Enterprise Portal QuickStart: Persisting Data Using View State and Data Sets in Microsoft Dynamics AX 2009


This article demonstrates how to persist data across postbacks using view state and data sets in Microsoft Dynamics AX 2009 Enterprise Portal.



Enterprise Portal QuickStart: Customizing Lookups in Microsoft Dynamics AX 2009


This article demonstrates how to customize lookups using X++ and C# in Microsoft Dynamics AX 2009 Enterprise Portal.


Enterprise Portal QuickStart: Connecting a Details Part to a Grid


This article demonstrates how to create two ASP user controls in Enterprise Portal. One of the controls is a grid that displays customer records and the other control is a details part that shows the details of the customer selected in the grid.



Enterprise Portal QuickStart: Adding a Toolbar to a Grid in Microsoft Dynamics AX 2009


This article demonstrates how to create two ASP user controls in Microsoft Dynamics AX Enterprise Portal. One of the controls is a grid that displays customer records and the other control is a toolbar that is directly connected to the grid and changes depending on the customer selected in the grid.



Enterprise Portal QuickStart: Handling Exceptions in Microsoft Dynamics AX 2009


This article demonstrates how to handle errors and exceptions in Enterprise Portal.



Enterprise Portal QuickStart: Using Record Context in Microsoft Dynamics AX 2009


This article demonstrates how to use record context in Enterprise Portal. Record context is used to pass currently selected record information on a page or Web part to another page or connected Web part.



Enterprise Portal QuickStart: Creating a Wizard (Tunnel) Form in Microsoft Dynamics AX 2009


This article demonstrates how to create a simple Wizard (Tunnel) page in Enterprise Portal using the ASP.NET Wizard control and the Enterprise Portal AxForm control.



Enterprise Portal QuickStart: Connecting a Fact Box to a Grid in Microsoft Dynamics AX 2009


This article demonstrates how to connect a fact box to a grid in Enterprise Portal using a Web part connection. Download the article by using the following links.



Enterprise Portal QuickStart: Creating Links Based on Menu Items in Microsoft Dynamics AX 2009


This article demonstrates how to create dynamic URLs in C# based on Web menu items in the AOT. It also shows you how to create URLs that are capable of launching Microsoft Dynamics AX forms via the desktop client's role center and security validation. Download the article and the sample code by using the following links.



Enterprise Portal QuickStart: Creating and Using Proxy Classes in Microsoft Dynamics AX 2009


This article demonstrates how to create a simple X++ class in the AOT, create a C# proxy for that class, and call the class in an Enterprise Portal user control written in C#. Download the article and the sample code by using the following links.



Enterprise Portal QuickStart: Creating a Basic Form in Microsoft Dynamics AX 2009


This article demonstrates how to create a simple task page in Enterprise Portal using the AxForm control. Download the article by using the following links.



Enterprise Portal QuickStart: Creating a Basic Grid in Microsoft Dynamics AX 2009


This article demonstrates how to create a simple list page in Enterprise Portal using the AxGridView control. Download the article by using the following links.



Enterprise Portal QuickStart: Creating an Advanced Grid in Microsoft Dynamics AX 2009


This article demonstrates how to limit the data shown in a grid by using predefined ranges. It how also describes how to use display and edit methods in a grid. Download the article and the sample code by using the following links.


Code for video How Do I: Integrate an Application Using the .NET Business Connector?


The following code sample shows you how to use Visual Studio to retrieve data from Microsoft Dynamics AX using Business Connector and display it in a form. This code sample is used in the video about integrating Business Connector. View the video here.

Download the code by clicking the Downloads tab or clicking here.


Code for video How Do I: Create a Custom AIF Pipeline Component?


The following sample code is used in the video about creating a custom pipeline component. View the video here.

Download the code by clicking the Downloads tab or clicking here.




Last edited Apr 20 at 5:01 PM  by dsiebold, version 63
Updating...
Page view tracker