Click or drag to resize
TransformationHelperGetSitemapItem Method
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetSitemapItem(
	Object dataitem,
	string type
)

Parameters

dataitem
Type: SystemObject
Current dataitem object (DataRow or DataRowView object)
type
Type: SystemString
Specify xml sitemap type (loc, lastmod, changefreq, priority)

Return Value

Type: String
See Also