Microsoft Knowledge Base Email Alertz

(822182) - 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...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 822182 - Last Review: January 6, 2006 - Revision: 2.5

You cannot change an EditForm object for a list to point to a specified file in FrontPage 2003

SYMPTOMS

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.

CAUSE

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.

STATUS

This behavior is by design.

APPLIES TO
  • Microsoft Office FrontPage 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbprogramming kbwebpublishing kbprb KB822182
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate