Community
Showing results for 
Search instead for 
Do you mean 
Reply

Null reference in setEntityNameinToolbar

Bronze Super Contributor
Posts: 1,224
Country: USA

Null reference in setEntityNameinToolbar

[ Edited ]

In the setEntityNameinToolbar in the MutableEntitytDetals.js code there is an error in the GROUP section.

The first time here the lblEntityName is null. Looks like you had seen this before hence the commented out code.

 

function setEntityNameinToolbar() {
// if (lblEntityName != null)

...

case "Group":
var groupfield = document.getElementById("VEJMX0dST1VQLk5BTUU="); //group field
if (groupfield == null && parent != null) {
groupfield = parent.document.getElementById("VEJMX0dST1VQLk5BTUU=");
}
if (groupfield != null)
document.getElementById(lblEntityName).innerText = groupfield.value;
break;

...

}
// }

 

2016-01-28_7-59-35.gif

 

Not sure of the long term issue but still thought you'd like to fix.

 

Thanks

-- Jim Durkin

Highlighted
Bronze Elite Contributor
Posts: 3,217
Country: USA

Re: Null reference in setEntityNameinToolbar

really sucks when nobody will reply to stuff like this

-MM
World Famous ACT! Certified Consultant @ www.ActiveSales.net