Export (0) Print
Expand All

SP.List.defaultDisplayFormUrl Property

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the location of the default display form for the list.

var value = SP.List.get_defaultDisplayFormUrl(); 
SP.List.set_defaultDisplayFormUrl(value);

[Microsoft.SharePoint.SPException]

Value is changed, and Client.PageType of the specified page is not DisplayForm or the list does not support changes to the default display form. Error code: -2146232832.

[System.ArgumentException]

Value is changed, and the specified display form does not exist. Error code: -2147024809.

It must not be null. It must not be empty. The client must set a server-relative URL and the server must return a site-relative URL.

Show:
© 2014 Microsoft