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

Note: The feature described in this topic is available in Siebel CRM 18.10 Update and later releases.

To configure a spell check button

  1. 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.

  2. Create a check spelling button in the applet that contains the field where Siebel CRM must do the spell check:

    1. In Web Tools, in the Object Explorer, click Applet.

    2. In the Applets list, locate the applet you must modify.

    3. In the Object Explorer, expand the Applet tree, and then click Control.

    4. 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.

  3. Define user properties for the spell check button:

    1. In the Object Explorer, expand the Controls tree, and then click Control User Prop.

    2. 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.

  4. Add the spell check button to the web template:

    1. In the Object Explorer, click Applet.

    2. In the Applets list, locate the applet web template you modified in Step 2, and then click the preview button.

    3. In the Controls/Columns window, make sure the Mode list is set to Edit.

    4. 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.

  5. Associate the Spell Check business component with the business object that the applet you modified in step 2 references:

    1. In the Object Explorer, click Business Object.

    2. In the Business Objects list, locate the business object where you must add the Spell Check business component.

    3. In the Object Explorer, expand the Business Object tree, and then click Business Object Component.

    4. In the Business Object Components list, add a new record using values from the following table.

    Property Value

    BusComp

    Spell Checker Applet VBC

  6. Create a spell check menu item:

    1. In the Object Explorer, click Applet.

    2. In the Applets list, locate the applet you modified in step 2.

    3. In the Object Explorer, expand the Applets tree, and then click Applet Method Menu Item.

    4. 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

  7. If the field you are configuring for spell check is a required field, then do the following:

    1. In the Object explorer, click Applet User Prop.

    2. 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.

  8. 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.

  9. Compile and test your modifications.

    For more information, see Using Siebel Tools.