1Ci Support Help Center home page
Submit a request
Sign in
  1. 1Ci Support
  2. 1C:Enterprise Development Standards
  3. Designing user interfaces

Time-consuming operations on client

  • Designing user interfaces
    • User object presentations
    • Using keyboard shortcuts, list of reserved keyboard shortcuts
    • Time-consuming operations on server
    • Time-consuming operations on client
    • Generating print forms
    • Implementation of form
      • Opening forms
      • Opening parameterized forms
      • Rules for creating form modules
      • Locking or independent opening of object forms
      • Modal windows use restrictions
    • Implementation of list forms
      • Restriction on using dynamic lists
      • Specifics of the commands implementation for list forms
      • Using common commands with data lists
      • Updating lists after interactive user actions
      • Reference attribute in dynamic lists
    • Arranging the dialog with the user
      • Notifying user
      • Restriction of the Message() method
      • Prompt to install add-ins and platform extensions

Scope: managed applications.

Avoid lengthy execution of the client code, except for time-consuming server code calls made from the client code (see "Time-consuming operations on the server") as it significantly slows down the application performance. Avoid executing potentially time-consuming operations (such as accessing network resources, processing complex data algorithms on the client) in idle and event handlers of form items.

Time-consuming client operations can be executed only when users start them explicitly (for example, by clicking a button).

Example 1

Incorrect:

Access web service in an idle handler to get update details.

Correct:

Get update details only by clicking a button or get update details on the server:

  • Get update details in a scheduled job through a web service and save this data, for example, to the register.
  • Read received update details in an idle handler by sending a simple query to the register.

Example 2

Incorrect:

Check for network resource availability in the OnChange event handler of the form field. A path to this network resource is entered in this field.

Correct:

Check for network resource availability in a handler of the interface command displayed, for example, as the Check button.

© 2020 1C INTERNATIONAL LLC www.1Ci.com Support policy