Im using CRM 3 with Sharepoint.
I have created a field called 'new_sharepointfolder' and when a value is put
into this it passes the value to an iframe on the notes tab.
I keep getting either errors on page load or Error:
'crmform.all.IFRAME_documentlibrary' is null or not an object
I dont understand, what have i missed?
Here is my code
var aName = crmForm.all.new_sharepointfolder.dataValue;
var url = 'http://capital05:19675/CIL Document Library/';
if (crmForm.all.new_sharepointfolder.dataValue
!=null){crmForm.all.IFRAME_documentlibrary.src = url + aName;}
else{crmForm.all.IFRAME_documentlibrary.src = url;}