您的位置:首页 > 产品设计 > UI/UE

Siebel Tools: Create new LOV Type and Values & Create Static Picklist Using Tools

2009-10-10 16:39 871 查看
About List of Values

A list of values (LOV) is a set of values that populates a static picklist, which is accessed when a user clicks a drop-down list in the user interface.

Knowledge

Drop-down lists can be based on two types of picklists: static picklists and dynamic picklists.

l A static picklist has a selection list that is a static list of values. An example of a static picklist is a drop-down list containing postal abbreviations for states and countries.

l A dynamic picklist has a selection list that usually contains transactional.

An example of LOV that stored as records in the database is showing as below.

Type

Display Value

LOV_TYPE

ACCOUNT_STATUS

ACCOUNT_STATUS

Candidate

ACCOUNT_STATUS

Qualified

ACCOUNT_STATUS

Active

ACCOUNT_STATUS

Inactive

The given list of values consists of two parts:

l Header Row.

This row defines the grouping name of LOV Type. (For example, the first row in the table above).

Type

Display Value

LOV_TYPE

ACCOUNT_STATUS

l Display Value Rows.

These are the values to be displayed in picklists that are based on the specified LOV Type.

(For example, the four rows where Type = ACCOUNT_STATUS in the table above).

Type

Display Value

ACCOUNT_STATUS

Candidate

ACCOUNT_STATUS

Qualified

ACCOUNT_STATUS

Active

ACCOUNT_STATUS

Inactive

Creating New LOV Types and its LOV Values

Using Siebel Tools

Typically, you can add, modify, or inactivate LOV values and types through the List of Values administration views in the Siebel client.

However, the better way is perform this task in Siebel Tools.

To create a new LOV type using Siebel Tools

1. From the Screens menu (in Siebel Tools), choose System Administration > Lists of Values.





2. Create a Header Record for the new LOV Type using the information in the following.

Type: Enter LOV_TYPE.

Display Value: Enter the name of the LOV Type. For example, OPTY_UI_TASK.

Translate: Information-only field used by Siebel Engineering. There is no client or server functionality associated with this field. CAUTION: Do not modify this field.

Language Independent Code: Typically, this value is same as the Display Value.





3. Enter new records for the LOV values using the information in the following.

Type: Enter the LOV_TYPE: OPTY_UI_TASK, which we create in previous step.

Display Value: Enter the name of the LOV Values that associates to your new type.

For example, ‘Submit’ and ‘Create Product’.

Translate: Do not change this field.

Language Independent Code: same as the Display Value.





Now, you have added a LOV Type:OPTY_UI_TASK and its values: ‘Create Product’ and ‘Submit’ to LOV. You can

4. Go to Administration – Data > List of Values View to check result. Then press ‘Clear Cache’ button.





Configure a Static Picklist to display the LOV Type

After added a new LOV Type and its values, let me show you a case that create a Static Picklist to apply our new LOV Type.

1. Start Siebel Tools and open Pick List Section in Object Explorer (OE).





2. Create a new Pick List. (For example, HPQ Opty Promp)

Main of parameters is showing as below.

Parameter

Value

Description

Project

Sapna

The project that your BC associated.

Bounded

TRUE

That indicates you can only select value of pick list by clicking drop list. You can not type the value in pick list directly.

Business Component

PickList Generic

Do NOT change this field.

Static

TRUE

That indicates you are creating a Static Picklist not Dynamic Picklist.

Type Field

Type

Do NOT change this field.

Type Value

OPTY_UI_TASK

This value is the name of new LOV Type that we create just now.

3. Open Business Component Section in OE and select a BC. This BC is associated to the applet that we will create our static pick list on it. (I take ‘Opportunity’ BC for example.)





4. Open sub section of BC – Field - in OE and create a new record.





Main of parameters is showing as below.





Parameter

Value

Description

Name

Opty Field

Any string is OK.

Join

S_LST_OF_VAL

This value is very important. You must set this value carefully. This value determines the table that stored your LOV values and Types.

Column

NAME

That determines what values you want to display in the pick list. This value is associated to BC Table or Join Table.

Picklist

HPQ Opty Prompt

The new pick list that we created in Step2.

5. Open sub section of Field – Pick Map - in OE and create a new record. Detail parameters are showing as below.





Parameter

Value

Description

Field

Opty Field

The BC Field that we created in Step4.

Picklist Field

ValueL

Do NOT change this value.

6. Open Applet section in OE and select a applet. We will create our new static pick list on it. (I take ‘Opportunity Form Applet - Child’ for example.)





Parameter

Value

Description

Name

Opty Control

Any string is OK.

Caption – String Override

Opty LOV Values

Any string is OK.

Field

Opty Field

The BC Field that we created in Step4.

Runtime

TRUE

This value must be set to TRUE.

7. Right click ‘Opportunity Form Applet – Child’ Applet and select ‘Edit Web Layout’ to enter Web Layout Editor.





8. Drag your control which you created in Step6 and drop it to appropriate place.





9. Compile SRF and test.





References:

Configuring Siebel Business Applications Version 8.0, Rev. A June 2007
Siebel Applications Administration Guide Version 8.0, Rev. A May 2007

Any question, please contact me.

Xianyi.Ye

yexianyi@hotmail.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐