ADD_METADEF Meta Services Core Oracle Content Server

Core Oracle Content Server Services 4-99

4.7.12 UNINSTALL_COMPONENT

Do not use.

4.7.13 UPDATE_COMPONENT_CONFIG

Do not use.

4.7.14 UPDATE_LICENSE

Do not use.

4.7.15 UPLOAD_NEW_COMPONENT

Do not use.

4.8 Meta Services Core Oracle Content Server

The Meta Services are used to manage and alter metadata in the Oracle Content Server system. Frequently used services are marked with an asterisk in the following list. The following services are described in this section: ■ ADD_METADEF ■ DEL_METADEF ■ EDIT_METADEF ■ GET_ADVANCED_SEARCH_OPTIONS ■ GET_DOC_METADATA_INFO ■ GET_OPTION_LIST ■ GET_USER_METADATA_INFO ■ MOVE_METADEF ■ UPDATE_ADVANCED_SEARCH_OPTIONS ■ UPDATE_USER_META ■ UPDATE_USER_META_TABLE ■ UPDATE_META_TABLE ■ UPDATE_OPTION_LIST

4.8.1 ADD_METADEF

Service that creates a new metadata field. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Note: For more details, see UPDATE_META_TABLE and START_ SEARCH_INDEX . These services must be run before storing data in a new metadata field. For details about updating the OptionLists database table, see also UPDATE_OPTION_LIST . 4-100 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Additional Required Service Parameters ■ dName: Internal name of the field. ■ dCaption: User-visible caption used to label the field in the Oracle Content Server pages. ■ dIsRequired: Prevents files from being checked in if the field does not contain a value. Values are 1 required or 0 not required. Default is 0. ■ dIsEnabled: Enables the field to be displayed on user interface pages. Values are 1 enabled or 0 disabled. Default is 1. ■ dIsSearchable: Enables the field to be indexed and searchable. Values are 1 searchable or 0 not searchable. Default is 1. ■ dIsOptionList: Allows the use of a user-selectable option list on Oracle Content Server pages. Values are 1 enabled or 0 disabled. Default is 0. If 1 is used then dOptionListKey is also required. ■ dOptionListKey: Name of the option list to be used. ■ dOptionListType: Specifies the type of option list to be used. Values can be choice Select List Validated, chunval Select List Not Validated, combo Edit and Select List, multi2 Multiselect List or multi Edit and Multiselect List. ■ dType: The type of field. Values can be Text Text, BigText Long Text, Int Integer, Date Date, Memo Memo. Default: Text. ■ dOrder: Sequence in which the field is displayed on Oracle Content Server pages. The default value is the highest current value of any existing field, plus one. ■ dDefaultValue: Default value for the metadata field being created. Example IdcService=ADD_METADEF dIsRequired=0 dOptionListKey=Web_SectionList dOptionListType=choice dIsOptionList=1 dOrder=5 dName=xWeb_Section dIsSearchable=1 dIsEnabled=1 dType=Text FieldName=Web_Section dCaption=Web Section

4.8.2 DEL_METADEF