While Removing Core.JS and related files we will get WPSC Undefined Error in Share point web part pages.
If we get the error WPSC undefined as a java script use the following java script code
if(typeof(WPSC) == "undefined"){
WPSC = new Object();
WPSC.Init = function(){
//do nothing
}
WPSC.WebPartPage = new Object();
WPSC.WebPartPage.Parts = new Object();
WPSC.WebPartPage.Parts.Register = function()
{
//do nothing
}
}
Subscribe to:
Post Comments (Atom)
thanks a lot arun
ReplyDeletei expected this for a long time...
now i cleared my WPSC error....
lot of thanks
where does this code get entered?
ReplyDelete