Monday, January 24, 2011

CRM Grid Menu Items

in CRM grid menu items we have to use ISV.Config to pass the parameters of the selected records to the custom page that we have created.

In this page we have to use a javascript method to filter the selected record Guid's and if you want to display them in the load event you will have to move to another pages using or window.showModalDialog method.

The issue here is that the intermediate page wouldn't be closed and when you close the newly opened page you might get the below error.

"Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page."

If you want to avoid this you will have to put a javscript method.

window.onbeforeunload = null;

by adding this you will not get that message.

The following link was helpful to me for this post.

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...