23 Aug 2013

“DEPLOY TO EP” – AX Client forms using Menu items in Dynamics AX 2012

Ax client forms can easily be published to enterprise portal by the new feature from the Menu item >> Deploy to EP.

Let me help with an example:

Create a new List Page by using the template option provided in AX 2012 as shown below and name it as SR_EcoProductListPage as shown below



Change the Name of the newly created list page to SR_EcoProductListPage as shown below.

ECOListPage

Now, let us use the query property on the data sources property to get the linked data sources from the query

Right click on the Data sources Node >> properties >> set the query property to ecoResProductListPage as shown below



Next, Go to Design Node >> and give the caption, title data source as shown below.



Next, On the grid set the data source as EcoResProduct as shown below.



Drag and drop some fields on to grid from the Data sources >> EcoResProduct. I have dragged and dropped DisplayProductNumber and ProductType fields on to grid as shown below.



Next, we will add this form to the menu items of type display by dragging and dropping the form to the Menu items >> Display



Right click on the newly created menu item and go its properties and set the label as “SR Product details” as shown below.



All you have to do is Right click on the newly created menu item >> chose option “Deploy to EP” as shown below



I am going to add this form to Home\sales as shown below and click on Ok button


You should get an info log that your aspx has been successfully deployed as shown below.



Now, lets go to Web node in AOT and check whether it has created a URL type web menu item as shown below.



Now lets launch this to Sales quick launch as we have selected Home\Sales earlier.

Go to AOT >> Web node, and expand the Web Menus node.

Then expand EPSalesQuickLaunch >> Common

Drag and drop the SR_EcoProductListPage URL below Return orders as shown below.



Open the EP Home page > Administration>> Select the option Refresh AOD as shown below



Go to Sales Menu/Tab and you will find SR Product details in the quick launch menu as shown below



This is just an example of how to deploy to EP forms from AX. Please don’t get in to functionalities or business process as the above form is just a sample example without any functionality.

No comments:

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...