It is used to open a URL in new window with properties. It is working on all browsers window.open('http://www.google.com', 'mywindow', 'menubar=1,resizable=1,width=350,height=250');
Microsoft Dynamics CRM 2011 - JavaScript Development There is a very handy JavaScript development cheat sheet available for Dynamics CRM 2011. It is by Daniel Cai, a Microsoft Dynamics CRM MVP . I always refer to this cheat sheet's PDF whenever I need help in the new CRM 2011 JavaScript model. Thanks to Daniel for a wonderful thought! You can download this PDF from his blog: http://danielcai.blogspot.com.au/2011/04/microsoft-dynamics-crm-2011-javascript.html I am just displaying all the methods, in my blog, so that they are easy to search from any search engine. Xrm.Page.context Methods · getAuthenticationHeader: Returns the encoded SOAP header for MSCRM 4.0 style Web service calls · getCurrentTheme: Returns th...
There is a possibility to change the stage using Java Script based on our requirement. Here is the sample. If you are unable to find the processid and stageid, 1. Go to Advance Find 2. Add Opportunity 3.Add all columns or Process and Process Stage 4. Export to excel and find Process and Process Stage ID's Code: Xrm.Page.getAttribute("processid").setSubmitMode("always"); Xrm.Page.getAttribute("processid").setValue("35103457-a659-40c4-a07d-03a0288c8cc4"); Xrm.Page.getAttribute("stageid").setSubmitMode("always"); Xrm.Page.getAttribute("stageid").setValue("27523758-5e41-e30a-a7dd-e0b02b67b519"); //Call Entity save Xrm.Page.data.entity.save(); //Call window...