Hi,
I have a requirement to show an icon (png file) in the grid based on different value of the column by using web resources, and it's working perfectly but when I added a partylist data type field into the grid, I will get error message Self referencing loop detected for property 'Entity' with type 'Microsoft.Crm.Metadata.EntityMetadata'. Path 'to_Value[0].EntityType.Metadata.PrimaryKey'... does any 1 facing the same problem?
below is the javascript that I have..
function showindicator (rowVal, userlcid) {
var imageName = "";
var tooltipValue = "";
var resultarray = null;
try {
//get the row Info
var row = JSON.parse(rowVal);
//get the Value of Custom Field (Column)
var rsubject = row.subject;
if (rsubject == null || rsubject == 'undefined' || rsubject.length < 1) return;
//If yes then set exclamation icon
if (rsubject == "new") {
imageName = "new_imageA.png";
tooltipValue = "";
} else {
return;
}
resultarray = [imageName, tooltipValue];
} catch (e) {
//Handle Error
}
return resultarray;
}
*This post is locked for comments
I have the same question (0)