Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FormUrls Schema Overview

Published: May 2010

Available in SharePoint Online

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:

    • xmlns   Required Text. Represents the XML namespace of the schema. The namespace for this schema is:

      http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url

  • 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 SharePoint Foundation 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 SharePoint Foundation 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, SharePoint Foundation uses the default values. In that case, SharePoint Foundation 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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.