Configuring Siebel Business Applications > Configuring Applets > Configuring Applet Buttons, Controls, and List Columns >
Configuring a Spell Check Button on an Applet
Siebel CRM can call Siebel Spell Check from an applet menu item. To configure this applet menu item, you create a Check Spelling Field user property for the applet that contains the following objects:
- Check Spelling button
- Field where Siebel CRM does the spell check
To configure a spell check button
- In Siebel Tools, display the following object types:
- Create a check spelling button in the applet that contains the field where Siebel CRM must do the spell check:
- In Siebel Tools, in the Object Explorer, click Applet.
- In the Applets list, locate the applet you must modify.
- In the Object Explorer, expand the Applet tree, and then click Control.
- In the Controls list, add a new record using values from the following table.
|
|
Name |
ButtonCheckSpelling |
Caption |
Check Spelling |
Field |
Do one of the following:
- If this is a nonrequired field, then enter the field name.
- If this is a required field, then leave this property empty.
|
HTML Type |
MiniButton |
HTML Only |
Contains a check mark. |
Method Invoked |
ShowPopup If Siebel Tools does not display the Method Invoked in the list, then enter it in manually. |
- Define user properties for the spell check button:
- In the Object Explorer, expand the Controls tree, and then click Control User Prop.
- In the Control User Props list, create three new records using values from the following table.
|
|
Mode |
Edit |
Popup |
Spell Checker Popup Applet |
Popup Dimensions |
560 X 350 This is the recommended initial size. |
- Add the spell check button to the web template:
- In the Object Explorer, click Applet.
- In the Applets list, right-click the applet you modified in Step 2, and then click the Edit Web Layout menu item.
- In the Controls/Columns window, make sure the Mode list is set to Edit.
- In the Controls window, choose the Check Spelling control, and then drag and drop it onto a placeholder in the Applet Web Template editor.
- Right-click in the Applet Web Template editor, and then click the Preview menu item.
Siebel Tools displays an approximation of how it will display the Spell Check button in the Siebel client.
- Associate the Spell Check business component with the business object that the applet you modified in Step 2 references:
- In the Object Explorer, click Business Object.
- In the Business Objects list, locate the business object where you must add the Spell Check business component.
- In the Object Explorer, expand the Business Object tree, and then click Business Object Component.
- In the Business Object Components list, add a new record using values from the following table.
|
|
BusComp |
Spell Checker Applet VBC |
- Create a spell check menu item:
- In the Object Explorer, click Applet.
- In the Applets list, locate the applet you modified in Step 2.
- In the Object Explorer, expand the Applets tree, and then click Applet Method Menu Item.
- In the Applet Method Menu Items tree, add a new record using values from the following table.
|
|
Command |
Check Spelling |
Menu Text |
&Check Spelling |
Position |
2 |
- If the field you are configuring for spell check is a required field, then do the following:
- In the Object explorer, click Applet User Prop.
- In the Applet User Properties list, add a new record using values from the following table.
|
|
Name |
Check Spelling Field |
Value |
Enter the name of the control or list column that is mapped to the field that will use spell check. |
- If you must configure spell check for multiple fields in an applet, then repeat Step 2 through Step 4 for each additional field.
You must create a button for each field.
- Compile and test your modifications.
For more information, see Using Siebel Tools.
|