Available for: Content Management Server
Task: Allows you to search for all channels for which the value of the specified parameter contains the specified string.
Syntax:
channel where {parameter value}
Function parameters: (If no parameter is specified, the command outputs all channels.)
-
parameterspecifies the name of the parameter whose value is to be searched for or specifies the number of hits. The following parameters are allowed:-
maxResultsspecifies thatvalueis a number that limits the number of hits. If number is less than or equals zero, the number of hits is unlimited. -
namespecifies that the names of the channels are to be checked for correspondence withvalue. -
namePrefixspecifies that the names are to be compared from the beginning withvalue.
-
-
valuecontains the value of the corresponding parameter.
Return value if successful: the list of names of the matching channels (stringlist)
Necessary permissions: no restrictions
Example:
CM>channel where namePrefix weather weather weather.europe weather.europe.france weather.europe.germany