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 Web Tools, display the following object types:
Control object and all child objects of the Control object
Applet User Prop, which is a child of the Applet object type
For more information, see Displaying Object Types You Use to Configure Siebel CRM.
Create a check spelling button in the applet that contains the field where Siebel CRM must do the spell check:
In Web 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.
Property Value 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 Web 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.
Name Property Value Property 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, locate the applet web template you modified in Step 2, and then click the preview button.
In the Controls/Columns window, make sure the Mode list is set to Edit.
In the Controls window, choose the Check Spelling control and, keeping the mouse button depressed, move it onto a placeholder in the Applet Web Template Editor and then release the mouse button.
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.
Property Value 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.
Property Value 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.
Field Value 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 steps 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.