Auto complete

Out-of-box, the auto complete feature is available for many Comfill fields in Service Manager. For a list of Comfill fields in the out-of-box data that have auto complete enabled, see Out-of-box Comfill fields with auto complete enabled below. This feature has similar functionality as the Fill option, which locates information from a link file. For details about how the Fill option works, see Fill functionality.

When the auto complete feature is enabled for a Comfill widget, you can type just a few characters in this Comfill widget and select a matching result from the auto complete list.

  • Auto Complete is always enabled for a field that has a referenced table defined, regardless of the value of the comfillAutoComplete parameter and the Auto Complete property setting defined in Forms Designer for that field. For more information, see Specify a referenced table for a field.
  • The auto complete feature supports only “start with” link queries, which return a list of records that start with the user input. It does not support other kinds of link queries, such as “end with” or “not start with”.
  • If a Comfill widget has a defined Data Change Event , and the link for this field has defined Post Expression/Post JavaScript, we recommend that you do not enable auto complete for this Comfill widget. Otherwise, the Data Change Event may not work.
  • If the input for a Comfill widget is a numeric value, auto complete is not supported.

Note If the auto complete results are not returned in five seconds, the system displays a message, which directs you to the Fill option, or you can open the Fill option directly.

Enabling auto complete for a new Comfill widget

When creating or tailoring a form, if you add a new Comfill widget and want to enable auto complete for the widget, perform the following steps.

Note Make sure this Comfill widget has a link definition before you enable the auto complete feature for it. Also, be aware that the auto complete feature does not work in the following situations:

  • In Comfill fields that have a value list or display list defined
  • If the Combo Button Visible option is selected
  1. Make sure auto complete is enabled globally, that is, the comfillAutoComplete parameter is set to true.
  2. Update the form to enable auto compete for the Comfill widget.

    1. In the Windows client, go to Tailoring > Forms Designer, and open the form in Design mode.

    2. Select the Comfill widget, and enable the Auto Complete property.

    3. Click OK.

    4. Click Save.

  3. The auto complete feature will consume additional system resources (memory and CPU). After you enable auto complete for the Comfill widget, Micro Focus suggests that you validate the form performance. To do so, perform the following steps.

    1. Open the form in Forms Designer, and click Validate Format from More or the More Actions menu.
    2. Click Continue.

    3. Specify the file name and click OK.

      Note Service Manager skips this step if a file is already specified for your form. To see if your form has a file specified, click More on the form and select Format Detail.

      A message displays if the system finds any performance issues. You can check the message for details.

    Service Manager provides the following parameters that control this feature. Their default values are intended to provide optimized user experience; however you may need to optimize these parameters according to your system performance.

    Out-of-box Comfill fields with auto complete enabled

    The following table lists the Comfill fields with auto complete enabled in the out-of-box data of Service Manager.

    Module Tables Forms Fields

    IM

    probsummary

    advFind.incident.search

    IM.open.incident

    IM.update.incident

    assignee.name

    assignment

    category

    vendor

    contact.name

    subcategory

    product.type

    affected.item

    logical.name

    location.full.name

    SD

    incidents

    advFind.SD.search

    SD.open.interaction

    SD.update.interaction

    category

    subcategory

    product.type

    callback.contact

    contact.name

    affected.item

    logical.name

    kpf.id

    CM

    cm3r

    advFind.search.change

    CM.change.approval

    CM.change.approvalprep

    CM.change.implementation

    CM.change.logging

    CM.change.planning

    CM.change.review

    cm3r.cigroup.g

    cm3r.discover

    cm3r.release

    cm3r.subscription

    assign.dept

    coordinator

    requested.by

    category

    affected.item

    subcategory

    assets

    location.full.name

    logical.name

    corp.structure

    location

    assigned.to

    PM

    rootcause

    advFind.search.problem

    PM.problem.closure

    PM.problem.investigation

    PM.problem.logging

    PM.problem.planning

    PM.problem.resolution

    assignment

    assignee.name

    subcategory

    affected.item

    product.type

    logical.name

    closure.code