Linking two web pages with different web controls and datasets in EP for AX 2009

Hi folks……… If you would like to link two Enterprise Portal web pages in AX 2009 having different/same datasets then it is very simple. You have to create the two web controls using the two different/same datasets. Add it to the two different web pages and link the second web page using the url menuitem….

Increase performance of workflow process in AX 2009 / delete obsolete workflow data in AX 2009

Hi Folks, Recently, For a customer, I have observed that the workflow processing has become very slow then when i have observed the workflow batch job history, I have found that there are many errors and it says “The company ‘tst’ does not exist”. But this company has been deleted long back. As we know,…

Get previous page selected record(context) in EP page in AX 2009

Hi All, If you would like to get the previous page’s selected record (Context) in EP in AX 2009 then you can use the following method in visual studio for it. AxTableContext context = AxBaseWebPart.GetWebpart(this).ExternalContext; if (context != null && context.TableId == TableMetadata.TableNum(AxBaseWebPart.GetWebpart(this).Session, “MainTable”))         {              string TestField = context.DataKey.GetRecord(this.AxSession).GetField(“TestField”).ToString();        …

Workflow validation error in AX 2009: The request failed with HTTP status 405: Method Not Allowed.

When you try to validate the Workflow URL, you might get an error saying “The request failed with HTTP status 405: Method Not Allowed.” To resolve this error , there are two ways : If your system configuration is 1. Windows 2008 R2 64 bit. 2. SQL Server 2008 3. IIS 7 To resolve this…

Cannot submit a timesheet on the Enterprise Portal(EP) website in Microsoft Dynamics AX 2009

Hi All, The user can create a timesheet but cannot submit a timesheet on the Enterprise Portal website, as the Submit button is not available. To be able to submit the timesheet, you have to go to the previous page of Timesheet List and then reopen the timesheet, then the Submit button appears. However, the Submit button should…

problem in building a project using project filter after RU-7 update on AX 2009

Last month, I have found a problem after installing RU-7 kernel update to one of our Customer and thats very strange. We were not able to build a project for a layer using Project Filter( i.e., to automatically get all the objects of a layer into a project) even after putting the layer in the…

Document Handling functionality in EP for a new table in AX 2009

To display/upload the documents for a record in a newTable through EP in AX 2009, we can use the existing Web menu items like EPDocuList, EPDocuListPopUp, EPDocuListFromInfo etc.,  But if these menu items are directly used on our new EP pages then it doesn’t work properly. The solution would be to add a relation with…

Display Page Footer only in the last page of the report in AX 2009

Hi Folks, I have seen that most of the developers face the problem in displaying the Page footer only in the last page of the report. Epilog is printed just after the page footer on the last page in a report. So, this is printed in a separate page. But to print in the last…

How to populate an Outlook Client by Creating a Mail Item, Attach a Report, and Send the Mail through AX 2009

Hi Folks, In AX, using SysMailer class we can compose a mail and send it through code in AX but if we would like to populate the outlook client by creating a mail item then attaching a report and also attaching the sender’s email address as well as subject to it then here is the…