Click or drag to resize
ContentProviderGetNodesContent Method (String, String, String, Boolean, String, String, String, String, Int32, Boolean)
Returns content of nodes after using specified transformation.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public string GetNodesContent(
	string siteName,
	string path,
	string culture,
	bool combineWithDefCulture,
	string classNames,
	string transformationName,
	string where,
	string orderBy,
	int maxRelativeLevel,
	bool selectOnlyPublished
)

Parameters

siteName
Type: SystemString
Site name
path
Type: SystemString
Node path
culture
Type: SystemString
Culture code
combineWithDefCulture
Type: SystemBoolean
Combine with default culture
classNames
Type: SystemString
Classnames list (separated by the semicolon)
transformationName
Type: SystemString
Transformation name in format application.class.transformation
where
Type: SystemString
Where condition
orderBy
Type: SystemString
ORDER BY SQL expressions (without the ORDERBY keyword)
maxRelativeLevel
Type: SystemInt32
Maximum relative node level to be returned. Value 1 returns only the node itself. Use -1 for unlimited recurrence
selectOnlyPublished
Type: SystemBoolean
Indicates if only published documents should be returned. Default value is false and all documents are returned

Return Value

Type: String
Remarks
The default sorting is ascending by node name.
See Also