Creating Static Picklists That Use Long Values

The Display Value property of a list of values in Siebel CRM is limited to 30 characters. If you use the Display Value property as the source of the values that Siebel CRM Desktop displays in a static picklist, then each of these value cannot exceed 30 characters in length. The Description property of a list of values in Siebel CRM can contain up to 255 characters. The example in this topic describes how to use this Description property to create a list of values that includes values that are longer than 30 characters in length.

The example in this topic assumes that a field named JVD Simple in the Opportunity business component already exists in Siebel CRM and that this field references a picklist named JVD Simple Picklist. Process of Creating Custom Static Picklists describes the properties of the list of values that this picklist references. In addition, the following describes values for the Description property.

Type Display Value Description

JVD_SIMPLE

Simple Value 1

Description for Simple Value 1

JVD_SIMPLE

Simple Value 2

Description for Simple Value 2

JVD_SIMPLE

Simple Value 3

Description for Simple Value 3

To create a static picklist that uses long values

  1. Do all the work described in Process of Creating Custom Static Picklists with the following modifications:

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

  3. Locate and then make a copy of the predefined list of values.

    For more information, see About the Predefined List of Values Object.

  4. Modify the copy you made in step 3 to the following:

    <picklist TypeId='List_Of_Values_Description'
      SrcObjectTypeId='List_Of_Values'
      CollectionTypeFldName='Type'
      ValueFldName='Description'
      LabelFldName='Description'
      LangFldName='Language'>
      <master_filter_expr>
        <![CDATA[
          [Active] = 'Y'
        ]]>
      </master_filter_expr>
    </picklist>
    

    Note the following:

    • Bold text indicates the values that you must modify for this example.

    • You must change the value in the TypeId attribute to a unique value, such as List_Of_Values_Description.

    • The predefined list of values includes a ValueFldName attribute that is set to Value and a LabelFldName attribute that is set to Value. You must change the values of these attributes so that they reference the Description property.

  5. Do Uploading and Testing Your Static Picklist with the following modification: