Hi,
I am working with CRM 3.0, and am trying to build the url of an iframe based on data in a crm record (dynamic).
I am trying to go to a url passing two parameters containing data from the Opportunity record that is open.
I have the following in my onload event:
// Load Document URL
{
var Docname = crmForm.all.new_Docname.DataValue;
var Docdesc = crmForm.all.new_Docdesc.DataValue;
var DOCURL = "http://server:40101/docs Spreadsheet Library/Forms/OpenExcel.aspx?file_url=" + Docname + ".xls&file_desc=" + Docdesc;
if (DOCURL != null)
{
crmForm.all.IFRAME_testing = DOCURL;
}
}
When I click on the tab with the IFrame, I go to the URL defined in the IFrame, not the URL built in the On-Load Event.
What am I doing wrong?
Voni