1c programmatically changing the composition of the section panel. Custom reshaping

This happens mostly when updating. basic versions, at automatic update, or even when manual update from basic version to professional version.

The reasons can be very different: this is an update with the wrong distribution (when we update with a regular professional distribution instead of a special one for the transition to the professional version), but this is only a suspicion as one of the possible reasons.

I think the main reason for this problem is in the rights, let's take a look at what rights we are updating with.

It seems like there should be accounts, but in fact they are not here! The configurator is empty.

It’s still not easier in the enterprise, double administrator

Moreover, it is clearly under-configured or configured haphazardly, since if configured correctly, it will be displayed correctly both in the configurator and in the enterprise.

It turns out that we are updating from an unknown Guest. Taking into account the fact that the new accounting began to pay a lot of attention not only to roles, but also to rights, access groups, access group profiles - suddenly we began to find ourselves in such a situation with empty accounts.

We begin work on removing duplicates in enterprise mode, so on this moment both administrators are invalid.

We select one of the administrators and check the box that login to the program is allowed. The checkbox will also be automatically checked: 1C:Enterprise Authentication. This is for logging in at startup, leave it, you don’t have to give a password.

Next, we go to the access rights, the program will immediately complain that the first user has been added to the list of users, so he will automatically be included in the Administrators group, we agree with this, set the access rights to Administrator (it can be checked by itself), write it down, save it. We mark the second admin for deletion.

We call configuration processing: Deleting marked objects and there an unpleasant situation may arise again, that the user is used in reports, acts, and so on)))

But this is not a problem, there is another processing (there are even enough of them here) - searching and removing duplicates, but even better would be: Searching and replacing values.

Here I take the last one, find the users directory, select the administrator entry marked for deletion and replace the links with the correct entry.

Hooray! Half the battle is done, now you can safely delete the incorrect entry, and Account We finally have an administrator in the configurator (check with the button, update the list of users).

But... it seems like they did it, restarted it, but the partition panel still didn’t appear. Let's guess further.

Sections are essentially subsystems, but here’s the problem: when you switch modes, either in a taxi or back to 8.2, nothing works!

We won't find anything in the configurator on this occasion, I don’t see any coding there, because there is a good problem in the enterprise, constants are not edited interactively, but in fact they are disabled.

The same problem appears when trying to open the constant: Taxi Interface.

The conclusions can be drawn that if you update without logging in with just any rights (if any), you can get more serious problems. At a minimum, the problem that I described, at most, something worse. That is, the problem in any case turned out to be not with the configuration, but with user data. You can, of course, argue, but this is my personal opinion.

If we don’t enable the constants interface interactively, then we can risk enabling it by external processing from an account with full rights (full rights are mandatory)

PS: Just in case, check all the boxes in the rights configurator! Usually set automatically Full rights and system administration. It’s better to check ALL the boxes so that it doesn’t turn out like in the comments. But at worst, it can be fixed)

We create external processing, create a processing form, in the processing form we create a command in the form commands and transfer it to Elements.

The command action will be like this:

&OnServer Procedure EnableInterface82OnServer() // Insert the contents of the handler.

Constants.InterfaceVersion82.Get();

Constants.InterfaceVersion82.Set(True); EndProcedure &OnClient Procedure EnableInterface82(Command) EnableInterface82OnServer(); End of Procedure

We save this processing in the folder you need, after which we open it from the enterprise, press the button and enjoy.

Let's summarize. 1. The very first golden rule is, of course, backups. 2. You need to update the configuration using an account with full rights. Now I understand where

this problem

- just a BICH of basic versions, since they work most often without registration (Not Specified)

I haven’t seen such a situation on professional versions, since there are always accounts with both lesser rights and full ones.

This article will be useful to users of 1C: Enterprise 8.3, regardless of which configuration you are working in. This may be “1C: Enterprise Accounting 8” or “1C: Salaries and Personnel Management 8”, but there are a number of common issues that are often encountered at the initial stage of work. Many users of previous versions are puzzled by the search for the indispensable "All Functions" command (analogous to the Operations menu...) and try to benefit from the managed interface. Therefore, let's consider important points, which should not be overlooked when we start working in the program new version 3.0.

First of all, we configure the display of the “All functions” command in the main menu, which is represented by this icon in the upper left corner. To do this, in the parameters located in the “Service” section, check the appropriate box.

Now it won’t be difficult to find any object, we will need a document, a directory or a register, just call the “Main Menu” and select “All functions”.

As for the interface, we, as users, are given the opportunity to customize it “for ourselves.” You shouldn’t miss this opportunity, so in the same main menu we’ll turn to the “View” section.


In the menu we see several types of settings. First, we decide on the location of the panels and select the “Configure panels” item.

This is what the standard arrangement of panels looks like; we can return to it after our experiments at any time using the button of the same name. The panel editor allows you to select a panel with the left mouse button and drag it to the area we need, that is, where we would like to see it. Let’s say it would be more convenient to work with the section panel located on top rather than on the side, then move it to the top area and click the “Apply” button to see how the appearance of the program has changed. If the setup is successful, click “OK” to save.

At the bottom, inactive panels are presented on a gray background; in fact, we can access these types of information through the toolbar. For example, to the activity history and the list with favorites using the "Stories" and "Favorites" tools, respectively.


But if necessary, you can fix such a panel in a place convenient for you, for example in this way.

If we talk specifically about the section panel, it can also be configured by opening the corresponding setting.


We can create a list of sections ourselves that meets our needs. We also choose how it will be presented this list with or without a picture; if with a picture, then where to place it relative to the text. For example, a setting without a picture allows you to see all sections when the menu is located at the top.

Individually customizable and home page, from the available forms, add the ones you need to the left or right column using the buttons.

After such simple manipulations, the interface is significantly transformed, and for the better, because you customize it specifically to your needs. And comfortable workplace plays an important role in the life of an accountant.

The managed form in 8.2 is not drawn, as in 8.0 and 8.1, but is described by the programmer. It is made so that on thin communication channels ( thin client or web client, although a managed form is also possible on a thick client) optimize the amount of data transferred.

The managed form consists of the following sections:

  • Section panel
  • Navigation bar
  • Action bar
  • Workspace
  • Other areas, such as the alert area, open when needed.

Section panel.

The section bar is located at the top of the desktop:

The section panel corresponds to the subsystems in the “General” branch in the metadata tree in the configurator mode.


And for the corresponding section to appear, it is enough to add a subsystem and assign the necessary configuration objects to it. To add a section picture in the subsystem element editing window, on the “General” tab, select the “Picture” field and select the picture we need or add our own, otherwise this picture is added by default

The “Desktop” section will always be present by default.

To make some subsystem invisible to the user, you need to configure rights or hide it in the “Configuration Command Interface” menu, called from context menu configurations.




If there is no subsystem in the configuration, then the partition panel will not be displayed at all.

Navigation panel.

The navigation bar is on the side and shows links to various configuration objects:


The navigation bar is configured from the subsystem context menu:



And we can uncheck or uncheck the visibility of the elements that are included in this subsystem, and also swap the elements by moving the arrows:

The navigation panel is also available for other configuration objects, and is configured on the “Form Command Interface” tab.



The navigation panel consists of several groups:

  • Important
  • Normal
  • Go
  • see also


The Normal and Go groups are shown in a simple font. The first exists in the subsystem, the second exists in directories (for example, a subordinate directory), documents (the register according to which movements are made), etc.

At the very bottom of the navigation panel is the “See” group. also” are additional links.

In addition to these groups, the programmer can create his own navigation bar groups.

There may also be no navigation bar, as well as a section bar.

Action bar

The action bar is located at the top, below the section bar and above the work area:



It allows you to call service windows, such as constants, reports or processing.

It is configured in the same menus as the navigation bar, but, as a rule, in subsystems.



Like the navigation bar, the action bar has its own groups:

  • Create
  • Reports
  • Service

The first group creates windows for creating elements, the second - calls reports, the third - calls processing, constants, as well as other service information.

Workspace

The work area occupies the main part of the form.



Typically, a list of selected configuration objects is displayed here. When you select another configuration object, the work area is replaced with the list of the new object.

Desktop

The desktop occupies the first tab if we have a section bar, and the entire form if there is no section bar. That is, the desktop always exists. The desktop can have both a navigation bar and an action bar. You can display any managed forms. As a rule, this is the most important information for the user.

2 items of the configuration context menu are responsible for setting up the desktop


The “Open desktop command interface” option allows you to customize the navigation bar and desktop action bar

Unlike other editing forms, the navigation bar and desktop actions editing form allows you to select any objects from the left side of the “Available Commands”.



The workspace can be configured through the “Open desktop workspace” item. This is the part the user sees first. We see that there are desktop templates - one column, two columns of the same width, and two columns of different widths.

Below we place any managed forms that a particular user most often uses and adjust the visibility and height.

1C: Enterprise Accounting, edition 3.0 is the first version of the configuration, which provides the ability to customize the interface. On the one hand, this opportunity compensates for the fundamental differences in appearance new version from the previous one - 1C 8.2. On the other hand, it gives users flexible options for customizing their workspace, focusing only on existing needs, their own convenience and individual taste.

It is worth noting that during the existence of edition 3.0, which respectively works on the 1C:Enterprise 8.3 platform, the interface has undergone several changes. In particular, the number of available interface options has been increased, including:

Standard

When version 3.0 was released, its interface was identical in structure to version 8.2, but differed in design: the names of the sub-items of the upper horizontal menu, and also added pictograms.


A visual comparison of editions 3.0 and 2.0 shows that the interface structure has remained unchanged.


Clicking on a menu item brought up a drop-down list, and in the new version, sub-items are displayed as tabs.


Since this type of interface was the first, it remains the most popular. You can change its structure by going to “Administration-Program Settings” - item “Interface”.


allows you to access submenus without closing the active window.*


*Horizontal menus:

  • Panel section located directly below the main menu;
  • A panel of actions or commands available in the selected section.

The vertical navigation bar displays the structure of the section's content.

Using menu sub-items, you can customize the contents of panels and their display at the user's request.

(next item) allows you to add and delete sections, as well as items of the main horizontal menu, up to its complete removal.


allows you to open additional windows under the main menu - standard reports, information, contacting technical support (the horses essentially duplicate the vertical panel).


allows you to add/remove submenu items, which previously could only be done with the participation of programmers.


Taxi

In the Taxi interface, the section panel is initially located on the left.


The implementation of customization of panels in this interface is carried out by dragging and grouping panels at the user's request in a special editor window.


The panel editor window allows you to group by dragging, adding and deleting panels such as the section panel, open panel, toolbar*, current section function panel, favorites panel, history panel.


*The panels at the top of the editor window are currently active.

Section sub-items are configured (the section panel is vertical) after their activation (the sub-item settings button is in the upper right corner).


The action panel settings window allows you to add and remove sections, even completely deleting them.


Interface nuance: selected sub-items are marked with asterisks


*Often external modifications are added here

Similar to the interface of edition 7.7

The menu structure is very similar to the standard version.


The ability to customize the 7.7 interface is at top panel on the right (down arrow), which allows you to add and remove buttons. It is active in all interfaces.

Subsystem in 1C 8.3— a metadata tree object that is responsible for building the configuration command interface.

Below in the article we'll talk about subsystems starting from version 8.2.

The fact is that version 8.1 (as well as a regular 8.2 application) also had subsystems, but they served completely different purposes, more likely for the developer than for the user. Using subsystems in 8.1, different functionality was usually separated. The subsystems also helped when combining different 1C configurations - it was possible to specify which system to transfer.

1C subsystems and programmer interface

In versions 8.3 and 8.2, subsystems are the main tool for building a command user interface. “Subsystems” metadata objects have a hierarchical structure; to configure a “submenu” in the interface, you need to add a subordinate subsystem:

Properties and Settings

Let's look at the settings and properties of the subsystems in the configurator:

Get 267 video lessons on 1C for free:

Include in command interface— if you forgot to set this flag, subsystem will not be displayed in the interface.

The button opens the interface settings panel, where you can configure interfaces depending on the role of the current user:

Picture— the picture assigned to the subsystem is displayed in enterprise mode. You can select a standard image, or you can add your own by first creating it as a configuration object Picture:

On the tab Functional options indicates a list of functional options in which this subsystem is used.

Tab Compound defines a set of metadata objects participating in a given subsystem.

On the tab Other you can describe the help for the subsystem and specify the settings Include in help content— whether to include this help section in the general background information by configuration.

If you don't see a report or processing in the managed interface

This problem very often arises among novice developers - it seems that a report or processing was added to the subsystem, but it is not visible.

The first reason for this may be that the object does not have a controlled form defined.

The second reason is that on the object’s Commands tab, the “Use standard commands” checkbox is selected. This is due to the fact that to open processing, either your own procedure can be described, or a standard one can be used: