Unloading loading xml data 8.3. XML file generation


"Loading and unloading XML data" is a universal processing with which you can perform partial or complete unloading of data from an infobase into a file with an XML extension. In the future, this file can also be uploaded to the infobase using the same processing. Note that the format of the file that is created when uploading for data exchange differs from the format of the upload file by the header part.


Processing is intended to be used when uploading data between the same configurations. That is, the infobase from which the data is unloaded and the database into which they are loaded must be identical, but the data in them may differ. Processing can also be used when all unloading objects are almost completely identical in the types of attributes, in composition, in the types of tabular sections, in the properties of the "leading" metadata object, etc.

Using this processing, you can not only create partial or full backups, but also exchange data between databases, and, if necessary, restore faulty or lost infobases. At the same time, the processing provides for the function of checking objects for the content of invalid characters during exchange via XML, as well as the ability to download data with restrictions.

The presented processing is intended for informational purposes only and can be used only by registered users of the ITS.


Let's configure. Let's connect. Let's fix it. Let's find the error 1c.

2018-11-15T19: 32: 35 + 00: 00

Universal processing "Upload and download XML data" performs full or partial upload of infobase data into a file in XML format. Subsequently, this file can be loaded into the infobase using the same processing. The format of the upload file differs from the format of the file created when uploading according to the exchange plan by the header part.

Processing can be used only in cases where the infobase in which the data was uploaded and the one in which the data is loaded are homogeneous (configurations are identical, data may differ), or all unloaded objects are almost completely identical in composition and types of attributes and tabular sections, properties of the "lead" metadata object, and so on.

The use of this processing is possible, for example, to create a full or partial backup of data, to exchange data between infobases, and also as an auxiliary tool in restoring failed infobases.

Processing supports data uploading with the ability to specify a selection by period. Also, objects are checked for invalid characters when exchanged via XML.

Best regards, (teacher and developer).

Operating modes

Processing UnloadingLoadingXML82 Data implements 2 modes of operation: Unloading (creating a file for unloading user-specified data) and Loading (reading the unloading file created by the mode of the same name and writing the data available in it). The mode is set by selecting in the Mode field.

Before starting this or that mode (pressing the Run button), you need to specify the name of the upload file either by entering it manually in the “File name” field, or by using the button for selecting this field and the standard file selection dialog.

In the download mode, it is possible to edit the use of totals when writing registers, which may affect the download speed. The buttons “Disable totals” and “Include totals” are available when the checkbox “Enable the ability to edit the use of totals during data loading” is checked and are used to manually control the mode of using totals when loading data. ** Conditions of applicability of processing **

Processing can be used only in cases where the infobase in which the data was downloaded and the one in which the data is loaded are homogeneous (the configurations are identical, the data may differ), or all unloaded objects are almost completely identical in composition and types of attributes and tabular sections, properties of the "leading" metadata object, and so on. It should be noted that, due to the specified limitations, processing is mainly intended for exchange between homogeneous information security.

The format of the upload file differs from the format of the file created when uploading according to the exchange plan by the header part. To unload data (elements of directories, sets of register records, etc.), processing uses the same XML serialization mechanism as unloading according to exchange plans; in this part, the file formats are identical.

Determination of the composition of the unloading

Processing allows both full and partial uploading of infobase data to a file. The composition of the uploaded data is configured in the dialog by checking the boxes in the column of the tree displaying metadata objects, the data on which can be uploaded. An additional column of flags, “If necessary”, sets the necessity to unload objects of this type “by reference”. That is, if the checkbox is selected only in the “If necessary” column, then the data for such an object will not be completely unloaded, but only to the extent necessary to maintain referential integrity in the infobase that will load the unloading file.

When the form is opened, processing sets the sign of unloading by reference to all objects, which guarantees the referential integrity of the unloaded infobase fragment.

When you click on the "Define objects to be uploaded by link" button, the processing analyzes the links to which data can be contained in the objects that have the complete upload flag set, and automatically fills in the column of flags indicating the need to upload by reference. If the object already has the full upload check box selected, then the upload by link check box is not set.

Possible applications

The use of this processing is possible, for example, to create a full or partial backup of data, to exchange data between infobases, and also as an auxiliary tool in restoring problem infobases.

2018-11-15T19: 32: 35 + 00: 00

Universal processing "Upload and download XML data" performs full or partial upload of infobase data into a file in XML format. Subsequently, this file can be loaded into the infobase using the same processing. The format of the upload file differs from the format of the file created when uploading according to the exchange plan by the header part.

Processing can be used only in cases where the infobase in which the data was uploaded and the one in which the data is loaded are homogeneous (configurations are identical, data may differ), or all unloaded objects are almost completely identical in composition and types of attributes and tabular sections, properties of the "lead" metadata object, and so on.

The use of this processing is possible, for example, to create a full or partial backup of data, to exchange data between infobases, and also as an auxiliary tool in restoring failed infobases.

Processing supports data uploading with the ability to specify a selection by period. Also, objects are checked for invalid characters when exchanged via XML.

Best regards, (teacher and developer).

This processing allows the exchange of data between the same (identical) configurations on the 1C 8.3 platform - Bukh 3.0, ZUP 3.0, UT 11, UPP 2.0 and others, the main thing is that the configurations are the same!

Screenshots

(foto)
(foto)

Operating modes

Processing implements 2 modes of operation: Unloading (creating an unloading file specified by the user) and Loading (reading the unloading file created by the mode of the same name and writing the data available in it). The mode is set by selecting in the Mode field.

Before starting this or that mode (pressing the Run button), you need to specify the name of the upload file either by entering it manually in the "File name" field, or by using the button for selecting this field and the standard file selection dialog.

In the download mode, it is possible to edit the use of totals when writing registers, which may affect the download speed.

The buttons "Disable totals" and "Include totals" are available when the "Enable the ability to edit the use of totals during data loading" checkbox is checked and are used to manually control the mode of using totals during data loading.

Conditions of applicability of processing

Processing can be used only in cases where the infobase in which the data was downloaded and the one in which the data is loaded are homogeneous (the configurations are identical, the data may differ), or all unloaded objects are almost completely identical in composition and types of attributes and tabular sections, properties of the "leading" metadata object, and so on. It should be noted that, due to the specified limitations, processing is mainly intended for exchange between homogeneous information security.

The format of the upload file differs from the format of the file created when uploading according to the exchange plan by the header part. To unload data (elements of directories, sets of register records, etc.), processing uses the same XML serialization mechanism as unloading according to exchange plans; in this part, the file formats are identical.

Determination of the composition of the unloading

Processing allows both full and partial uploading of infobase data to a file. The composition of the uploaded data is configured in the dialog by checking the boxes in the column of the tree displaying metadata objects, the data on which can be uploaded. An additional column of flags, "If necessary", sets the need to unload objects of this type "by reference". That is, if the checkbox is selected only in the "If necessary" column, then the data for such an object will not be completely unloaded, but only to the extent necessary to maintain referential integrity in the infobase that will load the unloading file.

When the form is opened, processing sets the sign of unloading by reference to all objects, which guarantees the referential integrity of the unloaded infobase fragment.

When you click on the "Define objects to be uploaded by link" button, the processing analyzes the links to which data can be contained in the objects that have the complete unloading flag set, and automatically fills in the column of flags indicating the need to upload by reference. If the object already has the full upload check box selected, then the upload by link check box is not set.

Possible applications

The use of this processing is possible, for example, to create a full or partial backup of data, to exchange data between infobases, and also as an auxiliary tool in restoring problem infobases.