共用方式為


SP.List.defaultEditFormUrl Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the URL of the edit form to use for list items in the list.

var value = SP.List.get_defaultEditFormUrl(); 
SP.List.set_defaultEditFormUrl(value);

Property Value

Type: String

Applies To

SP.List Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    The property is set on a user information list. Error code: -2146232832.
  • [System.ArgumentException]
    The specified URL is not a valid web URL or it does not have files present in it or the file present cannot render the list item. Error code: -2147024809.

Remarks

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.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace