In Designer mode

1C:Enteprise features another powerful search tool: search during the input in a text field. You encountered this feature earlier when you added materials or services to document tabular sections. 

You can set up the input by string feature in the configuration object editor, on the Input fields tab. This is applicable to objects that are used as referential fields. The following parameters are available:

  • Search method. Default value: At beginning of line
  • Full-text search. Default value: Do not use
  • Search results display mode. Default value: Regular

Let us edit these parameters.

  • For the MaterialsAndServices catalog, set the parameters as shown in fig. 19.15.

    Fig. 19.15. Input by string parameters

So, when a user enters a value to a field that references a material or a service, the platform performs the full-text search in background mode (as a background job). Both the full-text search option and the background search option are especially helpful when your database contains a large amount of data.

If your database is small, using the full-text search is not necessary and we recommend searching anywhere in the line instead of searching at the beginning (set Search method to Anywhere in the line).

During the applied solution execution you can change the values of these parameters using 1C:Enterprise script tools, namely the AutoComplete and TextEditEnd client event handlers of text fields. You can also implement this in the manager module of the object whose data is to be searched, in the ChoiceDataGetProcessing event handler (except the search results display mode property).

Next page: In 1C:Enterprise mode

Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.