Run the windows command prompt but ensure you “Run as Administrator” and use the following commands:
cd C:\Windows\SysWOW64\inetsrv
appcmd set site "Old Sit Name" -name:"New Site Name"
//Open a new contact recordXrm.Utility.openEntityForm("contact"); //Open an existing contact recordXrm.Utility.openEntityForm("contact","A85C0252-DF8B-E111-997C-00155D8A8410"); //Open a new contact record with a specific form and setting default valuesvar parameters = {};parameters["formid"] = "b053a39a-041a-4356-acef-ddf00182762b";parameters["name"] = "New Contact";parameters["emailaddress"] = "email@example.com";//For lookupparameters["customerid"] = "257b689C8B47-8B9D-E111-883B-1CC1DEEA2718";
parameters["customeridname"] = "Test Cust";
Xrm.Utility.openEntityForm("contact", null, parameters);//Open a new contact record, move it to the top left corner of the screen, and set the size of the windowvar newWindow = Xrm.Utility.openEntityForm("contact");newWindow.moveTo(0,0);newWindow.resizeTo(800,600);
///*******************************************************Opens an HTML web resource:
//**Open an HTML web resource named "new_webResource.htm":