Run exe from MS CRM 4.0

Mahender   September 22, 2010   4 Comments on Run exe from MS CRM 4.0

If you are looking to run .exe from MS CRM 4.0, then you can do this easily. You can create a ISV button on MS CRM form and create on global function on formonload can call it in ISV button JS.. you can write below code to run .exe var _Object=new ActiveXObject( “WScript.Shell” ) ; _Object.Run(“C:\WINDOWS\system32\calc.exe” );  you can also pass… Read more »

Easy way to avoid Infinite loop in Update plugin

I have seen many developers facing issue of infinite loop while using update method inside update plugin. I know it could be requirement specific, to use update method inside update plugin. But sometime we can void infinite issue, there is no need of calling update method. You could play with inputparmeter propertybag. For example sometime we have requirement to calculate… Read more »

Attach onclick event with MS CRM CRM checkbox

As you know that we can set control formatting of bit field to use it as checkbox. But only changing formatting does not make it to behave like a checkbox because of onchange event. Let take an example for this, like we have one field “Calculate Value” and we want to calculate some value on the selection of this bit… Read more »

Remove Picklist option based on Security Roles

Most of the client asks for this requirement. They want to hide picklist options based on security roles. Let’s take an example for this, for example if we have picklist “Customer Status” having four option like “Request for Approve”,”Approved”,”Rejected”,”Black Listed”. Let’s say we have requirement to show only first option to all users having security roles other then “System Admin”…. Read more »

"This control only accepts strings or null as input" error message

when you will try to assign integer value to nvarchar attribute in MS CRM like below var IntVal=10; Let’s say we have one field named “ABC” having nvarchar datatype crmForm.all.ABC.DataValue=IntVal; you will get error “This control only accepts strings or null as input”. to solve this issue you can use toString() method of JS like below crmForm.all.ABC.DataValue=IntVal.toString(); Enjoy !!!

New MS CRM 4.0 VPC

I know most the developers use CRM VPC for their development work, so I thought to provide them link to download latest MS CRM 4.0 VPC, But remember you can download it only if you are microsoft partner Here are the link for download CRM 4 July 2010 VPC.part01.exe  CRM 4 July 2010 VPC.part02.rar CRM 4 July 2010 VPC.part03.rar CRM 4 July… Read more »