Development Environment objects can be saved to external files and also loaded from them. This mechanism can be useful in development to store some intermediate versions of objects or to exchange knowledge between developers.
IMPORTANT. Export and import is available only in the desktop application. The mechanism of export and import of development environment objects should not be used in production repositories. The mechanism of updates should be used in such repositories.
Export to an external file is executed for a currently focused object. The following options are available:
The project navigator window is active, and any object is selected there.
An object is opened in the development environment, and this object's macro window is active.
Otherwise, objects cannot be saved to an external file.
To export a single object, select the File > Save to File main menu item. The Save to File dialog box opens.
Depending on the object being saved it is assigned with the appropriate file type:
ppassembly - repository assembly.
ppform - repository forms.
ppmodule - repository units.
py - Python modules.
The name of an object being saved is always used as the file name. If required, this name can be changed.
To export several objects, select them in the project navigator and select the File > Save to File main menu item. A dialog box opens to select a directory, to which the files are saved.
Select the folder and click the OK button to finish object saving. File names are formed from object identifiers and reserved extensions listed above.
NOTE. If the selected folder already contains files with generated name and extension, the system requests to rewrite the file.
To import development environment objects from a file, select the File > Load from File menu item. The file open dialog box opens.
The following file formats can be selected in the dialog box:
ppassembly - repository assembly
ppform - repository forms
ppmodule - repository units
py - Python modules.
Multiple files can be selected in the dialog box. Appropriate operation is executed for each selected file depending on its type.
See also: