4D v16.3EXPORT STRUCTURE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
EXPORT STRUCTURE
EXPORT STRUCTURE
The EXPORT STRUCTURE command exports, in xmlStructure, the structure definition of the current 4D database in XML format. This command uses the same mechanisms as the Export > Structure definition to XML file... menu item found in 4D's Design mode (see Exporting and importing structure definitions). In xmlStructure, you pass the text variable intended to store the structure definition. The exported definition includes tables, fields, indexes, and relations, as well as their attributes and any characteristics necessary for a complete description of the structure. Invisible elements are exported with the corresponding attribute. However, deleted elements are not exported. The internal "grammar" of 4D structure definitions is documented by means of DTD files — also used for the validation of XML files. The DTD files used by 4D are grouped together in the DTD folder, found next to the 4D application. The base_core.dtd and common.dtd files are used for structure definitions. For more information, you can consult these files along with the comments they contain. You want to export the current database structure in a text file: C_TEXT($vTStruc)
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v14 R4 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||