TransformationHelper GetSitemapItem Method Kentico 8.1 API Reference
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

dataitem
Type: OnlineSystem Object
Current dataitem object (DataRow or DataRowView object)
type
Type: OnlineSystem String
Specify xml sitemap type (loc, lastmod, changefreq, priority)

Return Value

Type: OnlineString
See Also