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 window.open 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.
This blog describes mostly about the work (CRM 365, CRM 2016, CRM 2015, CRM2011, CRM 4.0, CRM 3.0, C#,Javascript and SQL Server) i do.
Subscribe to:
Post Comments (Atom)
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...
-
There is a bit of change in CRM 2011 than CRM 4. The code is below. Microsoft.Xrm.Sdk. EntityReference Moniker1 = new Microsoft.Xrm.S...
-
When you create a new security role from scratch and then assign only that role to a system user and when you log to the CRM site you might ...
-
There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...
No comments:
Post a Comment