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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
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,
	bool checkPermissions,
	int topN = 0
)

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
checkPermissions
Type: SystemBoolean
If true, the method will return only those nodes that can be read by current user
topN (Optional)
Type: SystemInt32
Select top N rows

Return Value

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