Application.MakeAbs Method

SharePoint Designer Developer Reference

Returns a String that represents an absolute URL for the String specified in the URL parameter, using the URLBase parameter as the starting point.

Syntax

expression.MakeAbs(UrlBase, Url)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
UrlBase Required Variant A base URL. Can be a String or a Web, WebFolder, WebFile, NavigationNode, or DesignerDocument object.
Url Required String The entire URL for the Web site. This can be any URL for a Web site, such as "http://web_server/folder" or "file://file_system/folder" for disk-based Web sites.

Return Value
String

Remarks

If the URL is already absolute, the URL is returned unchanged. For more information about absolute and relative URLs, refer to Understanding Absolute and Relative Addresses.

See Also