ContentProviderGetNodesContent Method (String, String, String, Boolean, String, String, String, String, Int32, Boolean) |
Returns content of nodes after using specified transformation.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax 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:
StringRemarks The default sorting is ascending by node name.
See Also