Step By Step Adding Configuration Page in Solution MS CRM 2011

If you are building a product using MS CRM 2011 as a platform,you can use solution to package your product, and if you want to develop a page about your product details and features you can add a configuration page in your solution. Solution in MS CRM 2011 allows you to add a configuration page where you can provide details… Read more »

The key specified to compute a hash value is expired, only active keys are valid Error MS CRM 2011

Today when I tried to access CRM in my VPC, I got MS CRM generic error, then I used CrmDiagTool4 tool to enable trace and used Crm Trace Log Viewer to check trace files and found below error. at EventHandler.Invoke(Object sender, EventArgs e) at HttpApplication.RaiseOnError() at ApplicationStepManager.ResumeSteps(Exception error) at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at ISAPIRuntime.ProcessRequest(IntPtr… Read more »

Getting Parent Entity Information from child

In MS CRM 4.0 we used to get parent entity information using window.opener which is not there in CRM 2011 now. In CRM 2011 you can use below code window.top.opener.parent.Xrm.Page so using this statement you can get parent entity information and can fetch parent entity data, but sometime we also need to check parent entity name, let’s take an example… Read more »

MS CRM 2011 Virtual Machine

If you are a Microsoft partner you can download MS CRM 2011 Virtual Machine from https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&NRNODEGUID={060C9677-229D-49E1-9F00-95E56D9F1657}&NRORIGINALURL=/partnersource/deployment/methodology/vpc/MSD_CRM2011VirtualMachine&NRCACHEHINT=Guest&w&wa=wsignin1.0 Enjoy !!

‘Sys’ is undefined error while using Ajax 4.0 and Visual studio 2010

We used Ajax in one of our ISV application and when we deployed it in Production server, we started facing this issue, after doing a search in google, I found I need to do changes in my webconfig file to make ajax enabled, as we used vs 2010, so these entries were not there in our webconfig file. So we… Read more »

Get Current User ID and Name in Javascript MS CRM 2011

If you want to get current user id in crm 2011 form you can use Xrm.Page.context, you have to use getUserId() method for this you can use it like below Xrm.Page.context.getUserId() But if you want to get current user name then you can use below function to retrieve it function Getinfo() { var context; var serverUrl; var UserID; var ODataPath;… Read more »