SP.Folder.welcomePage Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies folder-relative URL for the list folder welcome page.

var value = SP.Folder.get_welcomePage(); 
SP.Folder.set_welcomePage(value);

Property Value

Type: String

Applies To

SP.Folder Class

Exceptions

  • [System.ArgumentException]
    URL must be relative to the list folder and cannot contain two consecutive periods. Error code: -2147024809.
  • [System.UnauthorizedAccessException]
    The current user has insufficient permissions. Error code: -2147024891.
  • [System.UnauthorizedAccessException]
    The current user has insufficient permissions. Error code: -2147024891.

Remarks

It must not be null.

See Also

Reference

SP.Folder Methods

SP.Folder Properties

SP Namespace