3.1.5.5.1.2.5 TargetUrl
Type: Microsoft.SharePoint.Client.Publishing.CustomizableString
Accessibility: Read Only
Gets the URL of a publishing page that will be used to render the friendly URL.
Remarks:
The protocol server performs URL rewriting to render the friendly URL for a navigation term using the page specified by the TargetUrl property. For example, for the term "Cameras" the URLs might look like this:
-
-
friendly URL: http://example.com/products/cameras
-
target URL: /store/Pages/TopicTemplate.aspx
-
The protocol server MAY support implementation-specific relative URL syntaxes such as "~site/Pages/TopicTemplate.aspx" or "~sitecollection/Pages/TopicTempalte.aspx".
The TargetUrl property is a CustomizableString (section 3.1.5.15) object. The default value is inherited from the TargetUrlForChildTerms.Value (section 3.1.5.5.1.2.6) property of the immediate parent node.
This property is only used when the LinkType (section 3.1.5.5.1.1.7) is NavigationLinkType.FriendlyUrl (section 3.1.5.3.1.2). If the protocol client attempts to assign the property for a different link type, then the protocol server MAY return an InvalidOperationException error.