Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Microsoft CRM 2011 Lead notes to Opportunity

$
0
0

In CRM 4.0 it was possible to display originating lead notes on the opportunity entity using the following code.

var lookupItem = new Array;
lookupItem = crmForm.originatingleadid.DataValue;

if (lookupItem != null)
{
crmForm.all.IFRAME_LeadNotes.src=”/_controls/notes/notesdata.aspx?id=”+ lookupItem[0].id + “&ParentEntity=3&EnableInlineEdit=false&EnableInsert=false”;
}
else
{
crmForm.all.IFRAME_LeadNotes.src=”about:blank”;
}

This of course will not work in CRM 2011. Does anyone know what the new jscript would be?

 

Thanks,

JC

 


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>