Available for: Content Management Server
Task: Returns the list of the additional (i.e. custom) fields that have been assigned to file formats as a whole.
Syntax:
objClass validAttributes
Function parameters: none
Return value if successful: the list of field names (stringlist)
Necessary permissions: no restrictions
Example:
CM>objClass validAttributes abstract keywords price levels list size source
Using the following Tcl code you can determine in which file formats a particular field (here myfield
) is used:
set fieldname myfield foreach c [objClass list] { if { [lsearch [objClass withName $c get attributes] $fieldname] != -1} { puts $c } }