SP.Publishing.Navigation.NavigationTerm.getResolvedTargetUrl Method (sp.publishing)

Returns a target page address as a server-relative URL from the SP.Publishing.Navigation.NavigationTerm.targetUrl property (sp.publishing) property.

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

SP.Publishing.Navigation.NavigationTerm.getResolvedTargetUrl(browserQueryString, remainingUrlSegments)

Parameters

  • browserQueryString
    A query string that, if specified, is merged into the resulting URL.

  • remainingUrlSegments
    Specifies a catalog-friendly URL suffix, as an array of URL segments. The segments will be assigned as the value of the "UrlSuffix=" URI query parameter.

    If remainingUrlSegments is specified, then the NavigationTerm.catalogTargetUrl property is used as the basis for the returned URL instead of the NavigationTerm.targetUrl property.

Return value

A server-relative URL or an empty string.