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.)
parameter
specifies the name of the parameter whose
value is to be searched for or specifies the number of hits. The following parameters
are allowed:
maxResults
specifies that
value
is a number that limits the number of hits. If
number is less than or equals zero, the number of hits is unlimited.name
specifies that the name of the formats
will be checked for occurrences of value
.isEnabled
specifies that
value
contains a logical value and only the name of the
formats in which the isEnabled
parameter value equals the logical
value should be returned. (Only formats in which isEnabled
is true
can be assigned to files.)objType
specifies that only the name of the
formats whose file type is contained in the list specified as
value
is to be issued.value
contains 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