Adding Fields to the Metadata to Support Static Picklists

This task is a step in Process of Creating Custom Static Picklists.

In this topic you add a field to the metadata to support a static picklist.

To add a field to the metadata to support a static picklist

  1. Use an XML editor open the siebel_meta_info.xml file.

  2. Locate the following object:

    TypeId="Opportunity"
    
  3. Add a new field to the Opportunity object. You add the following code immediately following the code line you located in step 2:

    <field Name='JVD Simple' Label='JVD Simple' DataType='DTYPE_TEXT' 
    IsFilterable='no'HasPicklist='yes' PicklistIsStatic='yes' 
    PicklistCollectionType='JVD_SIMPLE'PicklistTypeId='List_Of_Values' 
    IsHidden='no' IOElemName='JVDSimple' />
    

    where:

    • Field Name is any name you choose. It is recommended that you use the same name that you use in Siebel CRM for this field.

    • Label is equal to the value you provide for the Name.

    • DataType is the data type you specify for the integration component field in step 7.

    • IsFilterable is set to the default of no. IsFilterable is not relevant for this example.

    • HasPicklist must be set to yes.

    • PicklistIsStatic must be set to yes.

    • PicklistCollectionType is the name of the list of values.

    • PicklistTypeId identifies the name of the picklist type for static picklists. For more information, see step 7.

    • IsHidden must be set to no.

    • IOElemName identifies the name you specified for the XML Tag property in Modifying Siebel CRM Objects to Support Static Picklists.