dmGetCollectionFieldVocabulary

Signature

http://CdmServer.com:port/dmwebservices/index.php?q=dmGetCollectionFieldVocabulary/alias/nickname/forcedict/forcefullvoc/format

  • alias is a collection alias
  • nickname is the field nickname
  • forcedict is either "0" or "1". Specifying "1" forces a return of the dictionary instead of the controlled vocabulary. By default, if a controlled vocabulary is returned, only those terms that actually appear in the field metadata in the collection are returned.
  • forcefullvoc is either "0" or "1". Specifying "1" forces a return of the full controlled vocabulary.
  • format is either xml or json

Returns

Returns an array of terms for the field specified by the given collection alias and field nickname.

Example

http://CdmServer.com:port/dmwebservices/index.php?q=dmGetCollectionFieldVocabulary/ctimes/subjec/0/1/xml