1
The system of programs
The business applications
1C:Enterprise 8 Framework
New in 1C:Enterprise 8.2 Managed Application
New in 1C:Enterprise 8.2.14
Common framework mechanisms
Interface mechanisms in 1C:Enterprise 8.2 Managed Application
1C:Enterprise Database
Development with 1C:Enterprise 8.2
Scalability
Databases and Operation Modes
Client-server interaction model
Server cluster support
Geographically distributed databases
Thin client
Thick client
Web-client
Full-text data search
Administration tools
Localization support
Distribution and support of applied solutions
System Requirements
Used terms
Localization issues
On-line demo version
Geography of Solutions
Licensing policy
Partnership
Getting support
Partner area entry
About 1C

Integration

There is a possibility for integration with nearly any external applications and hardware, basing on commonly recognized open standards and data transfer protocols.

There is a whole set of means in 1C:Enterprise:

  • to create, handle and exchange data of various formats;
  • to access all objects of 1C:Enterprise system realizing its functionality;
  • to support various data exchange protocols;
  • to support interaction standards with other subsystems;
  • and to create original Internet solutions.

Text Documents

The script language of 1C:Enterprise allows to create, dynamically build and write text documents. Establishing data exchange with text documents (files) may be as one of the least resource-intensive ways to arrange interaction with other information systems.

In addition to usual ways of working with text documents (such as reading/writing, add strings, get strings), developers have the possibility of dynamic building of text documents, basing on templates created in advance.

A text template's capabilities:

  • Creation of the template's named areas, specifying the area's language;
  • Text template's fields' layout description;
  • Field's data output format description;
  • Field alignment description;
  • Description for automatic word-wrapping for a field's value representation at report formatting;
  • Use of blanking when text cannot fit its field;
  • Getting a text template as similar as possible to the report being built on its basis, or to a initial document's form.

Linear Reading of Text Files

Operations on text files are the simplest data exchange mechanism. It can be used for a wide range of tasks. The main advantages are simplicity in starting using it and textual representation of information.

Developers can use the following features:

  • Create new and open existing text files, specifying one of the text formats: UTF-8, -16, or ANSI;
  • Read a string of specified length, or the file entirely;
  • Read next string from the file, limited by a separator;
  • Write a text string to a file, with or without a separator.

XML

1C:Enterprise allows to establish integration with applied systems using XML-documents, that is a commonly acknowledged data representation mean at present.

Operation on XML-documents can be performed immediately from 1C:Enterprise 8 embedded language.

It is possible to:

  • Convert a string from an item's or XML-element's text into a value according to the type specified.
  • Get string representation of a value to put to item's text, or XML attribute's value.
  • Get XML data type according to the type passed as a parameter.
  • Check if the value of the type specified can be read from XML.
  • Write a value in XML format. The following values' types can be written to XML: Undefined, null, Boolean, Number, String, Date, Type, UniqueIdentifier, BinaryData, ValueStorage, TypesDescription, also data object references and data object themselves, set of registries' entries, constant value manager. The list can be updated later.
  • Return a type, appropriate to XML data type.

Using COM-connection and XML mechanisms one can arrange integration with applied systems according to the formats accepted in the systems. XSL-conversion mechanisms are used for this.

1C:Enterprise 8 includes extended features of working with XML and several new object models are implemented, such as:

  • Implementation of object XML document model (DocumentDOM) corresponding to the following standards: DOM Level 2, Xpath (Dom Level 3) and DOM Load and Save (DOM Level 3).
  • Implementation of object XML scheme model (XMLScheme).
  • Capability to check an XML scheme correspondence when reading XML files.

Implementation of 1C:Enterprise 8 operation with XML is made on the base of open source Apache Xerces and Apache Xalan libraries.

DBF-files

The mechanism allows to operate on DBF (dBase III) format data with 1C:Enterprise script language. It supports almost any operations on such data.

There is a special object in the system – XBase – to make it possible. The mechanism allows to work on DBF format data from 1C:Enterprise script language.

In addition to supporting operations on existing databases, XBase object includes a set of methods to create a new database of arbitrary structure, new indexes and new index file.

It's worth to note that it's possible to use methods modifying a database structure only for those objects which are not linked with existing database (i.e. for new created databases only); while creation of new indexes and index files is also possible for existing and opened databases.

COM-connection

The main task to be solved with COM-connection is to provide a reliable and efficient way to access 1C:Enterprise 8 data from external applications. In general, operation on 1C:Enterprise 8 through a COM-connection is similar to working with it in Automation-server mode.

The main differences are the following:

  • In case with Automation-server, it starts a normal 1C:Enterprise 8 application, while with COM-connection relatively small in-process COM-server is started.
  • When working through a COM-connection features, which one way or other relate to 1C:Enterprise 8 user interface, are not available; When COM-connection is being used, 1C:Enterprise 8 applied solution application module does not work; external connection module acts as applied solution application module.

There are following advantages in using a COM-connection before using Automation-server to access 1C:Enterprise 8 data:

  • Quicker establishing a connection;
  • Quicker access to properties and methods of 1C:Enterprise 8 system objects;
  • Less consumption of OS resources.

Automation Client/Server

The main goal of 1C:Enterprise 8 Automation-server is to control 1C:Enterprise 8 system application from other applications and performing actions similar to interactive ones.

1C:Enterprise 8 Automation-server provides access to all properties and methods of its global context.

Operation on HTML-documents

Means of operation on HTML-documents allow integrating them into an applied solution's forms and editing them by means of the script language.

There is a control item - 'HTMLDocumentField' - in an applied solution's forms to work on HTML documents.

An HTML-document can be build programmatically in a control item, loaded from a resources at a certain URL, or from a HTML-template. It is possible to handle events from the control item, including those from HTML document.

For example, there can be an HTML-document's field in an applied solution's form to work on the applied solution's catalogs. Apart from other actions, such form allows to browse catalogs' contents as HTML document and save the document to disk.

Technology of External Components

It was developed for special integration tasks, where some close interaction between 1C:Enterprise 8 system and other applications is required.

ActiveX

1C:Enterprise 8 framework allows embedding additional control items into forms and spreadsheet documents supporting ActiveX technology.

ActiveDocument Templates

The technology is intended for editing documents by external software editors.

Interaction over Internet

It is possible to do directly from the use script language. A developer can use script language to send/receive e-mails and perform data exchange by HTTP(S) and FTP protocols.

Hierarchical structure of data exchange

 

XDTO

XDTO stands for XML Data Transfer Objects. It is a mechanism of data object modeling that is described by means of XML schema.

Main XDTO features are:

  • Description of parameters types and returning values of Web-services.
  • Data exchange between 1C:Enterprise 8.1 (and later) configurations with other software with arbitrary data structures.
  • Data exchange on the base of XML schemas irrelatively to configurations (for example, exchange with informational systems not built on 1C:Enterprise 8.1 (and later) framework).
  • Creating own system types and values to process optional data.

 


Next
Previous
   © 1C LLC

Your proposals on site send to:webmaster@1c.ru