FormUrls Schema Overview

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The FormUrls Schema describes optional XML you can include in a content type as custom information. This XML node must be stored within an XMLDocument element in the content type definition. For more information, see Custom Information in Content Types.

This schema enables you to specify client-side redirects to different Display, Edit, and New form pages for items of this content type.

The schema has the following elements:

  • FormUrls   The root element. The FormUrls element has the following attribute:

  • Display   Optional Text. Specifies the URL of the custom Display form page to use.

  • Edit   Optional Text. Specifies the URL of the custom Edit form page to use.

  • New   Optional Text. Specifies the URL of the custom New form page to use.

Form pages are .aspx pages that replace the entire default Windows SharePoint Services page, including the framing elements, or chrome, such as top and side navigation bars. For form pages, you must create any navigational links or other elements you want that are usually found in the Windows SharePoint Services chrome.

The URLs you specify must be relative to the root location of the content type.

If you do not include this XML document in your content type definition XML, Windows SharePoint Services uses the default values. In that case, Windows SharePoint Services renders the forms automatically for you.

The following example specifies custom client-side redirects to different Display, Edit, and New form pages for items of this content type.

<FormUrls
xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"
<Display>Forms/mydisplayform.aspx</Display>
<Edit>Forms/myeditform.aspx</Edit>
<New>Forms/myuploadform.aspx</New>
</FormUrls>

See Also

Concepts

Introduction to Content Types

Custom Information in Content Types

FormTemplates Schema Overview