1 minute read
<UPDATE> 2010-10-27: After you read this, be sure to read Christophe’s follow-up to this post: About Scripts, Web Parts and Urban Myths. He gives some other specifics you’ll probably need. </UPDATE>
One of the things I heard at SPTechCon several times was that in SharePoint 2010, it is no longer possible to put script into Content Editor Web Parts (CEWPs). Instead, I was told, you have to use the “new” HTML Form Web Part.
This was a pretty big concern to me, the Middle Tier guy. After all, many people put their scripts into CEWPs for easy manipulation and management. I personally prefer to put the script into the page directly with SharePoint Designer for better management and safe-keeping, but I was forseeing all sort of broken-ness on upgrades. It wasn’t sounding pretty.
Well, today a colleague and I ran a *very* simple test. We simply dropped the following script block into the CEWP in a SharePoint 2010 page:
Lo and behold, SharePoint accepted it just fine and up popped the alert. Whew. (And Paul liked that SharePoint 2010 said “Hi” to him.)
As is often the case, the tweet-a-thon afterwards was almost more interesting, and may give you some other things to think about. Here’s the “thread”.
and on it goes!