SP.List.defaultEditFormUrl property (sp.js)

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

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

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

Return value

Type: String


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.

REST resource endpoint

See List resource for more information.

Endpoint URI structure


HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/defaultEditFormUrl

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/defaultEditFormUrl