Home > Dynamics Ax > Dynamics Ax EP Dev Tips

Dynamics Ax EP Dev Tips


1.       Display the infolog messages in EP similar to Ax client

To display the infolog in EP pages similar to the Ax client, use the following code.

using BCProxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy; 
BCProxy.Info infoLog = new BCProxy.Info(AxSession.AxaptaAdapter);
infoLog.add(Microsoft.Dynamics.Framework.BusinessConnector.Proxy.Exception.Info, "Hai"); 

2.       Override the AxGridView Filter

If we want to override the Ax-EP-Grid view standard filter use the following lines of code.

In page_Init method of the web part.

void Page_Init(object sender, EventArgs e)
 {
      .....
      AxFilter tsFilter = AxGridView_Header.FilterControl;
      tsFilter.ApplyFilter += new EventHandler(tsFilter_ApplyFilter);
}
void tsFilter_ApplyFilter(object sender, EventArgs e)
 {
      .....
}

I will update my blog with some more tips on Dyanmics Ax – EP Development.

Advertisements
Categories: Dynamics Ax
  1. October 4, 2010 at 4:29 am

    Hey paruvella,

    where in the world are you sir ? Long time since you got in touch.. i don’t find you online on skype also ?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: