Available for: Content Management Server
Task: Allows you to search for file formats where the value of the entered parameter contains the specified string.
Syntax:
objClass where {parameter value}
Function parameters: (if no parameters are specified the names of all formats will be returned.)
-
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 name of the formats will be checked for occurrences ofvalue. -
isEnabledspecifies thatvaluecontains a logical value and only the name of the formats in which theisEnabledparameter value equals the logical value should be returned. (Only formats in whichisEnabledis true can be assigned to files.) -
objTypespecifies that only the name of the formats whose file type is contained in the list specified asvalueis to be issued.
-
-
valuecontains the value of the corresponding parameter.
Return value if successful: the list of names from the matching formats (stringlist)
Necessary permissions: no restrictions
Example:
CM>objClass where objType publication newslist publication