Configuration objects. Configuration object editing window and properties palette

The properties palette contains, respectively, properties of objects, links to related objects, explanations for the object, and other related information. The properties palette is available from the Configurator for the configuration object:

from the Configurator for spreadsheet documents:

and from Enterprise mode for spreadsheet documents:

In the Configurator, you can select the display mode of the properties palette - Bookmarks or List - by clicking on its free space:

In the case of bookmarks, it will look like this:

Question 02.54 of exam 1C: Professional on the platform. The Properties palette provides quick access to:

  1. To properties of configuration objects
  2. To the properties of tabular documents 1C: Enterprise and their parts
  3. To properties of infobase objects
  4. Options 1 and 2 are correct
  5. All options are correct

The correct answer is the fourth, see above. There are no properties for infobase objects (there are no such objects in the Configurator at all, except for a few predefined ones).

Question 02.55 of exam 1C: Professional on the platform. The properties palette is available in the mode:

  1. Only in the configurator
  2. Only in 1C: Enterprise mode
  3. Both in the configurator and in 1C: Enterprise mode

The correct answer is the third, in the Enterprise is available for tabular documents.

Question 02.56 of exam 1C: Professional on the platform. In the "Properties palette" window, getting an expanded description for an individual property ...

  1. Can be obtained using the "explain" mode. To switch to this mode, use the context menu, called from any free space of the properties palette (outside the input fields)
  2. Can be accessed by Searching the Syntax Assistant. To switch to this mode, use the context menu called from the edit field of the property being edited.
  3. Impossible to get
  4. It can be obtained in the form of a hint by holding the cursor on the input field of an editable property for more than a second

The correct answer is the first. If you enable the Explanations option, the descriptions of the properties will appear at the bottom of the palette:

Question 02.57 of exam 1C: Professional on the platform. In what cases is it impossible to select the "Bookmarks" display method when working with properties in the "Properties palette" window?

  1. When the output of properties sorted by categories is enabled
  2. When alphabetical sorted property output is enabled
  3. When the display of properties is "important only"
  4. Options 2 and 3 are enabled at the same time
  5. Option 2 included or Option 3 included

The correct answer is the second, if the properties are sorted alphabetically, then the Bookmarks option is unavailable:

Question 02.58 of exam 1C: Professional on the platform. If you click the Sort by Category and Sort by Alphabet buttons on the Properties palette toolbar, the properties will be sorted ...
  1. Alphabetically within the entire palette, with no categories shown
  2. Alphabetically within categories
  3. Alphabetically within the entire palette, while categories are also shown in alphabetical order
The correct answer is the first, the Alphabetical and Category options are mutually exclusive.

The process of editing a configuration object consists in changing properties in order to achieve the required behavior of the object during use.

The Properties palette is a special service window that allows you to edit all existing properties of a configuration object. The composition of the properties depends on the type of the edited object.

To call the Properties palette, point to a configuration object and select "Edit - Properties".

Object properties in the Properties palette are grouped by category.

Toolbar The properties palette has five columns.

Button Action
Prints out the properties of the object, sorted alphabetically (the "pressed" button). The categories themselves are not shown

Produces output of object properties sorted by categories (button "pressed")

When the button is pressed, only the important properties of the object are displayed; when released - all properties

Undoing Changes in the properties text box

Write changes to properties text box

Property categories can be arranged as bookmarks or as a list. When placing properties in a list, the properties themselves can be arranged in a list by category or alphabetically (in this case, the names of the categories are not shown).

To select a way of displaying categories (display of categories must be enabled - the button is pressed) in any free space of the properties palette window, open the context menu and select the desired display mode. If the "Bookmarks" display method is selected, the buttons (and) become unavailable.


Each property in the Properties palette has a name and an expanded explanation. The mode of obtaining an expanded description is set using the context menu called in any free space of the properties palette (outside the input fields). If this mode is set, then when you select a property, an expanded explanation is displayed at the bottom of the Properties palette.

Common objects

The "General" configuration branch describes such objects as Subsystems, General modules, Session parameters, Roles, Exchange plans, Selection criteria, Common forms, Interfaces, Common layouts, Common pictures, Styles, Languages.

These objects are intended for setting the rules for users' work with data, for describing auxiliary objects used to form various forms in the data exchange mechanism, and also contain common modules and layouts available from any configuration module.

Subsystems. Selecting configuration objects

The "Subsystems" branch contains objects that describe various types of activities. Almost all configuration objects have the "Subsystems" property (including pictures, general shapes, styles and style elements, etc.).

No restrictions on the number and nesting are imposed on the structure of objects of the "Subsystems" branch. The use of configuration objects of the "Subsystems" type occurs mainly at the configuration stage. In our skeleton configuration, two subsystems have already been created: Management Accounting and Accounting.


To view configuration objects related to a certain set of subsystems, in the "Configuration" window, you can configure the filter for selecting objects. Select the "Actions - By subsystems" item of the "Configuration" window and specify the required set of subsystems, and also set the additional selection criteria "Include objects of subordinate subsystems" and "Include objects of parent subsystems". There is another possibility, for this you need to place the cursor in the root of the tree of configuration objects and from the context menu with the right mouse button select the "Advanced" item. In the window that appears, go to the "Subsystems" tab. Now, when moving along configuration tree, the window will display the composition of subsystems that include the selected object.

The belonging of configuration objects to a specific subsystem makes it easy to create user interfaces.


The process of editing a configuration object consists in changing the properties of the object to achieve the desired behavior of the object during use.
The Properties palette is a window in the form of a set of properties that you can define for a configuration object. The composition of the properties depends on the type of the edited object.
This section describes the basic techniques for working with the Properties palette.
To call the properties palette, point to a configuration object and select Edit - Properties.
In the Properties palette, object properties are grouped by category. The number of categories and the composition of properties placed in each category depend on the type of the object under consideration. For example, for a document attribute, the properties palette contains only the Main property categories. Characteristics and Data Type. The composition of category properties also depends on the type of object. Even in the case of selecting the same types of objects, the composition of properties is determined by the individual settings of specific objects. For example, for a hierarchical catalog, the properties of a table field in the Usage category additionally include the properties Tree, Hierarchical viewing, and others.
The composition of properties also depends on the selected values ​​of other properties. For example, in the Type property, when the primitive type Number is selected, properties are added that characterize the selected type: Length, Precision, and Non-negative.
The Properties palette toolbar consists of five buttons (see Figure 6). The first sin buttons (numbers 1 3) control the display of properties.

Rice. 6. Properties window buttons
The panel buttons are described below:
Sorted alphabetically. Prints out the properties of the object, sorted alphabetically (button pressed). The categories themselves are not shown.
Sort by category. Prints out object properties sorted by categories (button pressed).
Show important only. When the button is pressed, only the important properties of the object are displayed; when depressed all properties.
Cancel editing. Undo changes to the text field of the property.
Save. Write the changes to the property text box.
Property categories can be arranged as bookmarks or as a list. When placing properties in a list, the properties themselves can be presented in the form of a list by categories or alphabetically (in this case, the names of the categories are not shown).
To select a way of displaying categories (displaying of categories must be enabled - the Sort by category button is pressed) in any free space of the properties palette window, open the context menu and select the desired display mode (Bookmarks or List). If the display method is Bookmarks, then the buttons (Sort by alphabet and Sort by categories) become unavailable.
When choosing the display method by Bookmarks, to switch to the properties of another category, click the corresponding bookmark.
To return to the mode of displaying categories as a list, in the properties window of the context menu, select List.
If the display method is List, then the properties of the object are arranged by categories or alphabetically. To arrange alphabetically, click the Sort alphabetically button on the Properties palette toolbar. All properties are shown one after another in alphabetical order.
To arrange by category, click the Sort by Category button on the toolbar. All properties are grouped by category in a list (one below the other). The category name is shown in bold. To the left of the name there is a button to control the display of properties included in the category. The button allows you to hide or show a set of properties in.
Double-clicking on the name of a property category will collapse all other categories and display the properties of this category.
When the Show important only button is pressed, only the important (main) properties of the object are displayed (regardless of the display mode as a list or bookmarks, by category or alphabetically). To view all properties, click the Show important only button again.
Depending on the type of object, its properties are available or inaccessible for modification. For example, in a text document, object properties are intended only to show the number of lines of n characters, as well as the status of the document, but they are not available for editing.
Each property in the properties palette has a name and a detailed explanation. The mode of obtaining an expanded description is set using the Explanation context menu command, which is called in any free space of the properties palette (outside the input fields). If the sweat mode is set, then when you select a property, an expanded explanation is displayed at the bottom of the Properties palette. In addition to the descriptive description, the name of the property can be displayed when accessing the value from the program unit.
For properties that can be accessed using the built-in language, you can customize their display as a name or as a property name. For example, a property named Value Type is named ValueType. The display mode can be changed using the Display Property Names command of the context menu. Property names are displayed according to the selected embedded language option.
ATTENTION! The names of the properties of the metadata objects and the Configuration metadata object are not displayed.
How you enter values ​​in the Properties palette depends on the type of property you are editing. "1-І List selection button ... and Selection button xjj Clear button l I QUI control button View button Fig. 7. Possible actions
For text details - this is a normal text input (you can use the clipboard), for properties of the "checkbox" type - a mouse click. Some property values ​​are selected from lists. The fields of such properties have a selection list button (see Fig. 7). If the property field has a select button (see Fig. 7), then when you click it, a window opens in which the property value is selected (or it can be viewed in the case when the object cannot be edited, for example, for objects that are not captured in the configuration repository or objects that are supported without the possibility of editing). These properties include, for example, choosing a picture file, defining a color, and others.
By clicking the view button (see Fig. 7) for text data, a window for editing a line in different languages ​​is called, for events - a form module procedure that processes this event, for properties from the category
A view is an existing form of a data object. The clear button (see Fig, 7) resets the value of the specified property. The control button (see Fig. 7) allows you to increase or decrease the numerical value by 1 towards higher or lower values.
The buttons in the fields can be combined.
When you start editing any text field of the properties palette, the buttons on the toolbar of the properties palette Cancel editing (see Figure 6) and Save (see Figure 6) become available. Pressing the cancel button cancels the changes made. Pressing the save button saves the change.
The properties palette can contain links that open various forms associated with the selected object. For example, calling reference information (description) of a configuration object, various forms, and procedures of a form module. Such links are displayed with underlined text. Clicking a link opens a window associated with that link.
If you are viewing the properties of an object whose editing is prohibited (for example, the object is not captured in the repository (see page 2-807), then the type editing dialog can be opened in the "view only" mode.

At first glance, the object editing window and the properties palette duplicate each other. The configuration object editing window is intended primarily for quick creation of new objects. The object editing window helps you quickly create an unfamiliar configuration object and provides convenient access to the desired properties. As for the palette of properties, it provides one absolutely irreplaceable opportunity. The fact is that it is not tied in its structure to any specific type of configuration objects. Its content changes depending on which object is current. Due to this, it can "remember" which property of the object is selected in it, and when moving to another object in the tree, it will highlight the same property, but of another object.

Reference books.

What is a directory Configuration object Reference is intended for working with lists of data. The properties and structure of these lists are described in the Reference configuration objects, on the basis of which the platform creates tables in the database to store information from these references. The reference book consists of elements. The user in the process of work can independently add new elements to the directory. In the database, each element of the directory is a separate record in the main table that stores information from this directory. Each element of the directory, as a rule, contains some additional information that describes this element in more detail. Since these configuration objects are logically linked to the Directory object, they are referred to as subordinate to this object. In the database, the reference is stored in the form of a table, in the rows of which the list elements are located, and each attribute (standard or created by the developer) in this table corresponds to a separate column. The system hides from the developer all the "technical" part related to data storage: several tables are created in the database for the reference, these tables are linked by a unique field (Link), table fields are of certain types, etc. The system does all this by itself. We just need to add a subordinate object to the Directory configuration object " Tabular part ". For ease of use, the elements of the reference book can be grouped according to some principle. The grouping is called a hierarchy, there are two types of hierarchy:

    hierarchy of groups and elements (a group of directory elements acts as a parent)

    hierarchy of elements (parent is one of the catalog elements)

Elements of one catalog can be subordinated to elements or groups of another catalog. In the 1C: Enterprise system, this is achieved by specifying a list of directory owners for each directory configuration object. Sometimes there are situations when it is necessary that in the reference book some elements always exist, regardless of the user's actions. The Directory configuration object allows you to describe any number of such directory elements. They're called predetermined elements of the directory. Predefined items differ from the usual ones in that they are created in the configurator and that the user cannot delete them. He can do all other actions with them, including renaming. In the interface, predefined elements of the directory are marked with a special icon.

Predefined elements

The following features of predefined elements are distinguished:

    configuration work algorithms can rely on predefined elements (since it is possible to refer to them from the built-in language by name);

    predefined elements are database objects that cannot be deleted in 1C Enterprise mode.

Regular items are "volatile" for configuration. In the course of the user's work, they may appear, disappear. Therefore, although the configuration can distinguish them from each other, it cannot rely on them in the execution of any algorithms due to their "inconsistency". In contrast, predefined elements are "permanent". During the user's work, they are always in their places and cannot disappear.

Basic and database configuration The configuration for the developer is called the Main Configuration. The configuration that users work with is called the Database Configuration. The basic configuration can be edited. You cannot edit the database configuration, you can only update the database configuration based on the basic configuration. The configuration store contains configuration for group development. It is stored not in the form of a single configuration, but in the form of separate objects in the context of configuration versions. Thus, we can get the configuration of any version from the repository - for this it is “assembled” from objects of the required version. Now imagine that there is a possibility of comparison and updating between all these kinds of configurations. In this case, it is very easy to get confused, and the name Basic configuration perfectly reflects the ultimate goal of all changes. If these changes do not affect the structure of the database (for example, if you do not need to change the tables, if only the program code in some module has changed), then you can update the database configuration without interrupting the work of users -dynamic update... But if the changes concern the structure of the database, for example, a new attribute has been added to the reference book or the type of an existing attribute has changed, then all users need to be shut down. The developer can always compare the main configuration and the database configuration, can return to the original state of the main configuration using the database configuration.

Directory forms: Depending on what actions we want to perform with the reference book, we need to display the reference book in a “different form”. The system can independently generate all the forms that are needed to represent the data contained in the reference book. Moreover, the system "knows" which forms should be used in which situations. Generally speaking, a maximum of five forms for the guide are required to display the guide in various situations.

Table 3.1. Directory forms

In the context menu and in the properties palette (Figure 3.3)

In the form constructor (Fig. 3.2)

On the form tab (Forms ...) (Fig. 3.1)

Object shape

Directory item form

Element

Group shape

Directory group form

List form

Directory list form

Form for selection

Directory selection form

Group selection form

Directory group selection form

Group selection

Note that the same forms are called slightly differently in different places in the configurator. The fact is that the context menu and the properties palette display the properties of configuration objects. They are the same for all configuration objects. And in the form designer and on the form tab, representations of these properties are displayed in a more understandable way.

Figure 3.1 Forms

Fig. 3.2 Form of a dictionary element

Figure 3.3 Main Object Shape

"Element shape" used to edit or create a catalog item. "Group form" used to edit or create a directory group. The group usually contains much less information than the directory item itself. Therefore, it needs a separate shape, different from the shape of the element. "List form" used to display a list of directory items. "Selection form" is used to select one of the dictionary elements in a field of some form. At the same time, the selection form is simpler than the list form, since many details can be displayed in the list form. And when choosing an element (in a document, for example), we only need to know the name. Therefore, you can use a separate, simpler form for selection. "Group selection form" it is used when in a field of some form it is necessary to select not just a catalog item, but one of its groups. At the same time, the form for selecting a group is simpler than the form for selecting an element, since a group, as a rule, contains much less information than the element of the directory itself. Any form can be described in the configurator. To create such a description, there is a subordinate configuration object Form, it is subordinate to one of the application objects, but it can also exist independently.

The form is used to "visualize" the data in the database. It presents this data in a user-friendly form and allows you to describe the algorithms that will accompany the user's work with the data shown in the form.

PRACTICAL PART

First, we need a list of company employees who will provide services. Then we will need a list of clients that our company works with. After that, we need a list of services that our company can provide, and a list of materials that can be consumed. In addition, we need a list of warehouses that may contain materials.

Another developer tool that we used along the way, but whose description we did not focus on, is properties palette.

If you remember, we used the properties palette when we created the tabular section and the attributes of the tabular section of the configuration object Reference Nomenclature.

Properties palette Is a special service window that allows you to edit all existing properties of a configuration object. Since different configuration objects have very different properties, the contents of this window will change depending on which object is current (on which configuration object the cursor is positioned).

For some developer actions (for example, creating a tabular section), the Properties palette opens automatically. But the developer can always open the palette of properties of the configuration object on his own using the Properties item of the context menu of the right mouse button.

In this case, the properties palette will open and will be docked on the working area of ​​the configurator. However, there is a convenient opportunity to "unpin" the properties palette (using the button symbol in the title bar of the properties palette - Fig. 2.27):

Rice. 2.27. Unpin the Properties palette ...

In this state, when you hover the mouse cursor over any other window, the properties palette will be minimized to an additional panel on the right side of the screen (by default) (Fig. 2.28):

Rice. 2.28. Button on the additional panel

And when you hover the mouse cursor over the symbol of the collapsed properties palette, it will open.

Similar behavior (the ability to be attached, hiding, etc.) is possessed not only by the properties palette window, but also by other configurator windows (for example, the configuration tree window).

CONTROL QUESTIONS

1. What is the reference configuration object for?

2. What are the characteristic features of the handbook?

3. What are the requisites and tabular sections of the reference book used for?

4. Why do we need hierarchical directories?

5. What are predefined items?

6. How, from the point of view of configuration, are the usual elements of the directory different from the predefined ones?

7. How to create a reference configuration object and describe its structure?

8. When should you use editing a directory in a list, and when - in a dialog?

9. How to add new elements to the directory?

10. How do I create a directory group?

11. How can a user distinguish ordinary directory items from predefined items?

12. How to move elements from one group of the catalog to another?

13. How to start 1C: Enterprise in debug mode?

14. Why do you need basic configuration and database configuration?

15. How do I change the database configuration?

16. What is the property palette for?