SP.Utilities.Utility.getLayoutsPageUrl(pageName) Method

SharePoint 2010

Last modified: May 24, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the URL for the specified page.

var value = SP.Utilities.Utility.getLayoutsPageUrl(pageName);

pageName

Type: string

The page for which the URL is returned.

Type: string

The URL to the page.

This method returns the URL to the page in the _layouts folder relative to the root of the website.

Show: