Documentation > CMS Template API Library > AssetParams

CrownPeak.CMSAPI.AssetParams : CrownPeak.CMSAPI.Params

Parameters to be used in Asset.GetFileList and Asset.GetFolderList.

NameDescriptionType
SetExcludes

Sets the Excludes property with the passed in strings. If the list was not empty, previously added items are cleared from the list.

Method
Excludes

Labels of the assets to be excluded from the upcoming query.

Property
ExcludeProjectTypes

Whether to include projects, libraries and other special types when calling GetFilterList Defaults to true.

Field
SetFieldNames

Sets the FieldNames property with the passed in strings. If the list was not empty, previously added items are cleared from the list.

Method
SetFilterStatus

Sets the FilterStatus property with the passed in strings. If the list was not empty, previously added items are cleared from the list.

Method
ExcludeFilterStatus

List of strings containing the names of statuses that should not be included in the result set. If this parameter is set (not null or empty), the FilterStatus parameter is ignored. Warning, this may cause undesirable effects during publishing. Use Caution.

Property
FieldNames

The names of fields that will be preloaded into the returned assets.

Property
FilterStatus

Names of the workflow statuses to filter on. If the ExcludeFilterStatus parameter is set (not null or empty), the FilterStatus parameter is ignored. Warning, this may cause undesirable effects during publishing. Use Caution.

Property
Limit

The maximum number of assets to return.

Property
SortOrder

The sort order that will be used in the upcoming query.

Property

Connect with Crownpeak