Datasheet
19
Chapter 1: Exploring SharePoint Designer
Script Editor
If you are familiar with development tools such as Visual Studio, you may have noticed something
missing in SharePoint Designer — a way to test your code. (Many IDEs use the F5 key as the command
to run the current program, often called the F5 experience.) Although Code view does provide
IntelliSense code completion for several scripting languages, scripts do not run within the context of
SharePoint Designer. To actually see scripts run, you need to shell out of the primary SharePoint
Designer environment.
There are two ways to do this. One, as you have seen, is to use the Preview in Browser tool.
The disadvantage of this option is that you must save your page and all changes before invoking the
preview. The other way is to use the Microsoft Script Editor (see Figure 1 - 22 ).
Figure 1-22
c01.indd 19c01.indd 19 11/20/08 1:16:22 AM11/20/08 1:16:22 AM