I am assuming I will need JS for this so could someone help me develop a web resource that targets a lookup and opens the lookup record in a new widow or tab on click.
function openLookupNewWindow(){
var options = {openInNewWindow: true};
var type = Xrm.Page.getAttribute("ic_regardingorganizationid").getValue()[0].id;
$("#customerid").children().find("span.ms-crm-Lookup-Item").click(function(){
Xrm.Utility.openEntityForm("account", type, null, options);
});
}
*This post is locked for comments