Hi, I have two environments: dev and production.
I have custom entity. On the form of this entity i have custom button to open nem contact form.
I do this with this JScript code:
function addNewCRec() {
var accountID = null;
var accountName = null;
var account = Xrm.Page.getAttribute("lookupAttr").getValue();
var serverUrl = Xrm.Page.context.getServerUrl();
var features = "location=no,menubar=no,status=no,toolbar=no";
var defUrl = serverUrl + "/main.aspx?etn=contact&pagetype=entityrecord";
if (account != null) {
var accountID = account[0].id;
var accountName = account[0].name;
var extraqs = "parentcustomerid=" + accountID;
extraqs += "&parentcustomeridname=" + accountName;
extraqs += "&parentcustomeridtype=account";
window.open(defUrl + "&extraqs=" + encodeURIComponent(extraqs), "_blank", features, false);
} else {
window.open(defUrl, "_blank", features, false);
}
}on New contact form i fill Parent customer lookup.
It works fine on dev environment but on the production I don't see ribbon. It is blank. What's wrong ?
I have alredy cleared cache and uncheck ' Load pages in the most recent version of Internet Explorer'
Crm2011 RU 15.