Share via


CatalogConnectionSettings.CatalogItemUrlRewriteTemplate property

Gets or sets a URL rewrite template that is used to generate friendly URLs for items in this catalog.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property CatalogItemUrlRewriteTemplate As String
    Get
    Set
'Usage
Dim instance As CatalogConnectionSettings
Dim value As String

value = instance.CatalogItemUrlRewriteTemplate

instance.CatalogItemUrlRewriteTemplate = value
public string CatalogItemUrlRewriteTemplate { get; set; }

Property value

Type: System.String
A URL rewrite template that is used to generate friendly URLs for items in this catalog

Remarks

Any search-managed property that is enclosed within "[", "]" characters are replaced dynamically. If IsManualCatalogItemUrlRewriteTemplate=true, then the template can be a web-relative URL that can render different items based on a dynamic query parameter.

See also

Reference

CatalogConnectionSettings class

CatalogConnectionSettings members

Microsoft.SharePoint.Publishing namespace