In Windows SharePoint Services, when you try to change the
EditForm object for a list to point to a specified file, the
Edit Form file does not change.
In the following example, when your
run a macro that is similar to the following, you expect the
EditForm object to point to the EditTest.aspx file:
Sub ListPaths()ActiveWeb.RootFolder.Files.Add "EditTest.aspx", TrueActiveWeb.Lists(0).EditForm = "EditTest.aspx"
ActiveWeb.Lists(0).ApplyChangesEnd Sub
However, in FrontPage 2003, when you right-click
the modified list, click
Properties, and then click
the
Supported Files tab, the file that the
EditForm object points to does not change.
This behavior occurs because you cannot designate the
EditForm object to point to an arbitrary Web page. When you
try to change the Edit Form, New Form, or Display Form files, you can only
specify a page that actually contains a form of the appropriate type for the
list in question.
The page specified must contain a zone control, and
there must be a webpart in the zone control that corresponds to an existing
database type, to be able to specify New Form, Edit Form, or Display Form
parameters. There must be a webpart of the appropriate type that corresponds to
the page in question.
This
behavior is by design.