Answered by:
Field Customized event Error

Question
-
I have customized the Account form , i added 3 tabs with attributes and LookUps.
when i published the new customization, and each time i open an existing account, i receive the following error:
There was an error with the field's customized event.
Field: window
Event: onload
Error:'crm.all.IFRAME_spdoclibrary' is Null or not an object
can i know how can i solve this please?
thanks
Tuesday, March 23, 2010 1:06 PM
Answers
-
Hi,
Just Check your onload code
Mahain- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:20 PMModerator -
In the Form customization for your Account entity (where you removed the tab), click Form Properties at the bottom-right then select "OnLoad" and click Edit
- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:21 PM -
Settings --> Customization --> Account (Open account form) --> Forms & views --> form properties--> Onload.
change "crm.all.IFRAME_spdoclibrary" to "crmForm.all.IFRAME_spdoclibrary"
- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:22 PM -
Go to the customization form then in the properties, you have a tab that contains onload and onsave javascript event
And in each field, you have the same tab with onChange event
My blog : http://mscrmtools.blogspot.comYou will find:Bulk Delete Launcher View Layout replicator ISV.Config Manager Form Javascript Manager Assembly Recovery And others (use tool tag on my blog) - Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:22 PMModeratorAll replies
-
have use used as 'crm.all' insie code?
hope it should be 'crmForm.all'
Regards
VinothTuesday, March 23, 2010 1:09 PM -
check form on-load event, is it there any javascript in form on-load event?
http://www.allaboutdynamics.comTuesday, March 23, 2010 1:10 PM -
I'm writing no Code i'm even not using VS, all what i did is the out of the box CustomizationTuesday, March 23, 2010 1:11 PM
-
It looks like you have custom javascript on the OnLoad event for Account that uses
"crm.all.IFRAME_spdoclibrary"
when it should be "crmForm.all.IFRAME_spdoclibrary"
Tuesday, March 23, 2010 1:11 PM -
it is clearly not a out of the box customization...
There must be an Iframe on your form...
My blog : http://mscrmtools.blogspot.comYou will find:Bulk Delete Launcher View Layout replicator ISV.Config Manager Form Javascript Manager Assembly Recovery And others (use tool tag on my blog) Tuesday, March 23, 2010 1:12 PMModeratorOk as it seems it might be something related to a sharepoint integration, i have removed a tab called "Integration option".
Honestly i'm new to CRM i need to see where i can check the javascript code for CRM so that i disable to function checking for the integration option tab or IFRAME
thanks
Tuesday, March 23, 2010 1:17 PMHi,
Just Check your onload code
Mahain- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:20 PMModeratorIn the Form customization for your Account entity (where you removed the tab), click Form Properties at the bottom-right then select "OnLoad" and click Edit- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:21 PMSettings --> Customization --> Account (Open account form) --> Forms & views --> form properties--> Onload.
change "crm.all.IFRAME_spdoclibrary" to "crmForm.all.IFRAME_spdoclibrary"
- Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:22 PMGo to the customization form then in the properties, you have a tab that contains onload and onsave javascript event
And in each field, you have the same tab with onChange event
My blog : http://mscrmtools.blogspot.comYou will find:Bulk Delete Launcher View Layout replicator ISV.Config Manager Form Javascript Manager Assembly Recovery And others (use tool tag on my blog) - Marked as answer by GKSPLB Tuesday, March 23, 2010 1:25 PM
Tuesday, March 23, 2010 1:22 PMModerator