- User's Guide
- Working with Exports
- Creating Exports
- Version Export
Version Export
Version exports output a record for each node and its properties for an entire version. This information can be output to a file or a database table.
Tip:
To preserve the export order when exporting to a database table, you can add a record ID column to your output. This column provides an auto-generated numeric value, starting with 1, that increases sequentially for each row in the export.
Note:
Hierarchy relationships and local properties are not available for this export type.
To create a version export:
- On the Home page, select Export.
- Click
.
- Select Version as the export type.
- Optional: To create substitution parameters for the export:
- Click
.
- Click Add and add Key-Value pairs.
Note:
Key-Value pairs cannot use "<%" or "%>" sequentially or an equal sign.
- Click OK.
- Click
- On the Source tab, select a version or version variable.
You can select Normal, Baseline, or As-Of versions. The Version list defaults to the Normal versions. To select a Baseline or As-Of version, click Normal under the Version list.
- On the Style tab, select from these options:
-
Node Selection — Determines which types of nodes (All Nodes, Limb Nodes Only, Leaf Nodes Only) are included in the export
-
Include Implicitly Shared Nodes — Select to include descendant nodes below shared limb nodes that are explicitly shared. Implicit shared nodes are exported only if not filtered out by another option such as top node selection or a query filter. The structure of implicitly shared nodes below a shared parent node is reflected in the ancestor section of the hierarchy export.
-
If a query filter is used in the export, the administrator must explicitly include the shared nodes. For example, the filter (#Children=0) must be changed to ((#Children=0 OR (Shared Node Flag = True)).
-
For the implicitly shared node, the Parent properties reflect the values of the actual node (the primary node). For example, if your export includes the Parent Node property for an implicitly shared node, it will show the parent as the primary node.
-
-
- In the Batch Validations section, select the type of validations to run.
Note:
Batch validations are performed for the entire version specified in the export. Validations are run before the export. If errors occur, the export stops.
-
None — No validations run.
-
Assigned — All assigned validations run.
-
Selected — Click
to select validations to run.
Note:
Validations are performed for the entire version.
-
- On the Filter tab, select options:
-
From Validation, select a validation to apply to the export.
-
From Query, select a query to apply to the export or, to define a query, click
.
Note:
The inclusion filter determines the set of nodes from each hierarchy that will be compared.
-
- On the Columns tab, select the properties to display as columns in the export results and move them from Available to Selected.
For more information, see Export Specific Columns
Tip:
Use the Category list to select a property category to ease navigation. Use the up and down arrows to position the column in the Selected list. The first item in the list is the first column, the second item in the list is the second column, and so on.
- On the Target tab, select the output type for the results:
-
Client File –– Download results via the browser.
-
Server File –– Use an external connection and save results to a network file system or an FTP directory.
-
Database Table –– Save results to a database table.
-
- Perform an action:
-
If you selected to export to a Client File, choose options:
-
Column Headings — Includes column headings in the export
-
Quoted Strings — Puts quotation marks around each column value. Any existing quotation marks within the column value are doubled.
For example,
=IF("ABC","XYZ",)
changes to
"=IF(""ABC"",""XYZ"",)"
-
Fixed Width — Allows you to specify field widths, left or right justification for the column, and number of pad characters. You can enter column information in the Fixed Width Option section.
-
Character Encoding — Select one of the encoding options.
-
Replace options — Select up to three characters from the lists to be replaced. For example, commas can be replaced by tabs
-
Header/Footer — Add a line between the header/footer and the body or enter text to be printed on the header and footer of the export results. Enter lines of text into the text box or click
to open a text editor.
Note:
You can insert customization tags to further enhance the readability of the export results. For more information, see Customization Tags.
-
Delimiter options — To select a field delimiter character and a record delimiter character
-
-
If you selected to export to a Database Table, you must set your connection and select the database table. You must have already created a valid external connection to a database for it to show up in the drop-down list. You can also select from these options:
-
Clear Table options
-
Do Not Clear Table — Appends to existing data in the specified table.
-
Clear Based on Version ID(s) — deletes data in the table where the specified key field equals the current version ID of the data being exported. If this option is selected, a Key field must be specified in the Database Column Options section. When the export is run, all data in the table is first deleted where the Key field equals the current version ID of the data being exported. For the other Clear Table options, the Key field is ignored.
-
Clear All Rows — Deletes data from the table before writing the export output.
-
-
Use Transactions — The export is performed within a database transaction and allows the entire operation to be rolled back if an export error occurs.
-
Use Fast Appends — Performs a bulk insert operation into the target database table for improved export performance. Only available with a database-specific connection.
-
Use Fast Deletes –– Performs a bulk delete operation on the target database table for improved performance. Only available with a database-specific connection.
-
Database Column Options — Each column being exported must be mapped to a field in the external database table. Under Field Name, select the name of a field. If you selected Clear Based on Version ID(s), specify a Key field.
Tip:
The Length option can be left blank so that string lengths up to the database column declaration can be sent to the database.
Note:
The column must be the same data type as the database field to which it is mapped. For example, if a string property is mapped to a numeric database field, an error occurs.
-
-
If you selected to export to a Server File, you must set your connection and enter a file name. You must have already set up a valid external connection to a UNC or FTP file. You can also select from these options:
-
Column Headings — Includes column headings
-
Quoted Strings — Puts quotation marks around each column value. Any existing quotation marks within the column value are doubled.
For example,
=IF("ABC","XYZ",)
changes to
"=IF(""ABC"",""XYZ"",)"
-
Fixed Width — Allows you to specify field widths, left or right justification for the column, and number of pad characters. You can enter column information in the Fixed Width Option section.
-
Character Encoding — Select one of the encoding options.
-
Replace options — Select up to three characters from the lists to be replaced. For example, commas can be replaced by tabs
-
Header/Footer — Add a line between the header/footer and the body or enter text to be printed on the header and footer of the export results. Enter lines of text into the text box or click
to open a text editor.
Note:
You can insert customization tags to further enhance the readability of the export results. For more information, see Customization Tags.
-
Delimiter options — To select a field delimiter character and a record delimiter character
-
-
- Do any of the following:
-
To save the export, click
.
You are prompted to define a name, description, and an object access group for the export. Select a custom group or one of the following:
-
User––Personal objects that are only available to an individual user to view and run.
-
Standard––Public objects that are available to all users to view and run. Only Data Manager users can create and modify standard exports.
-
System––Restricted objects that are only available to Application Administrator role users to view and run.
-
-
To validate the export, click
.
You can copy validation errors to the clipboard.
-
To run the export, click
.
If you selected to run validations on the Style tab, clicking
performs the validations. If no errors occur, the export runs. If validation errors occur, then the export stops and an error is displayed. Click
for a list of validation errors.
-