Export (0) Print
Expand All
Expand Minimize

List.DefaultNewFormUrl property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public string DefaultNewFormUrl { get; set; }

Property value

Type: System.String
Returns a String instance representing the location of the default new form for the list.


The property is set on a user information list. Error code: -2146232832.


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.

It must not be a null reference (Nothing in Visual Basic). It must not be empty. The client must set a server-relative URL and the server must return a site-relative URL.

Community Additions

© 2014 Microsoft