Tuesday, February 15

Configuring a Spell Check Button on an Applet

Configuring a Spell Check Button on an Applet


A user 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 on which Siebel CRM performs the spell check
To configure a spell check button
  1. In Siebel Tools, display the following object types:
  2. Create a check spelling button in the applet that contains the field on which Siebel CRM must perform the spell check:
    1. In Siebel 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 Siebel Tools does not display the Method Invoked in the list, then type 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, right-click the applet you modified in Step 2, and then choose the Edit Web Layout menu item.
    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 then drag it and drop it on a placeholder in the Applet Web Template editor.
    5. Right-click in the Applet Web Template editor, and then choose the Preview menu item.
      Siebel Tools displays an approximation of how Siebel CRM displays the Spell Check button in the Siebel client.
  5. Associate the Spell Check business component with the business object of the applet you modified in Step 2:
    1. In the Object Explorer, click Business Object.
    2. In the Business Objects list, locate the business object to which 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 choose 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 Step 2 through Step 4 for each additional field.
    You must create a button for each field.
  9. Compile and test your changes.

0 comments:

Blogger Widgets