ContentProvider GetSingleNodeContent Method (String, String, String, Boolean, String, String, Boolean, Boolean)Kentico 8.1 API Reference
Returns node content after using specified transformation.

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

Parameters

siteName
Type: OnlineSystem String
Site name
path
Type: OnlineSystem String
Node path
culture
Type: OnlineSystem String
Culture code
combineWithDefCulture
Type: OnlineSystem Boolean
Combine with default culture
className
Type: OnlineSystem String
Class name (can be empty, but it's faster if you specify it)
transformationName (Optional)
Type: OnlineSystem String
Transformation name in format application.class.transformation
selectOnlyPublished (Optional)
Type: OnlineSystem Boolean
Indicates if only published documents should be returned. Default value is false and all documents are returned
checkPermissions (Optional)
Type: OnlineSystem Boolean
If true, the method will return only those nodes that can be read by current user

Return Value

Type: OnlineString
See Also