Managing Export File Definitions
In addition to creating exports using a template, you can also set up exports starting with a blank canvas.
Note:
The expression editor used below provides selectable values to build an SQL expression using String, Number, Date, Boolean, and conversion functions. You can also select from a list of SQL functions, separators, operators, and table columns (fields). To join multiple string elements together use the ‘||’ concatenation operator in your expression.Adding Export Definitions
-
From the OPERA Cloud menu, select Miscellaneous, select Exports, and then select General Membership or Back Office.
-
Click New and complete the following.
-
Property: Enter or select a Property.
-
Export Name: Enter a name for the export.
-
Description: Enter a description for the export.
-
Data Source: Select a data source from the list. The file should contain the information for different views and tables as needed for the new export.
-
Pre Export Procedure: The Pre Export Procedure is an internal setup procedure that executes prior to the data export. The procedure populates views, filters views, and sets variables. If a pre-export procedure is not specified, the export looks at the value(s) selected in the Parameter Form.
-
Post Export Procedure: The Post Export Procedure is a post-processor that truncates temp tables following export generation and might also reset parameters that were set for the export.
-
Filter Condition: Click to edit the expression for the data filter.
-
XML Root Tag: Enter the root tag.
-
XML Format: Click the check box to export data in XML format.
-
-
File Name Formula: Click to edit the expression for the export file name.
-
File Extn Formula: Click to edit the expression for the export file extension.
-
Zip file name: Click to edit the expression for the export zip file name.
-
Export Run Configuration
-
End of Day: Click to generate the export during End of Day.
-
Frequency: Select a frequency from the list.
-
Day of Week: Select a day of the week from the list (not enabled for daily frequency).
-
-
Parameter Form: Select the parameter form to use when the export is manually generated (not enabled when End of Day is selected).
-
-
Exports Contents Configuration
-
General Configuration
-
Always Export Header and Footer: Select checkbox to include header and footer lines in the export.
-
Compress Data: Select to separate the data column with a delimiter.
-
Column Separator: Select a column (data) delimiter from the list.
-
-
Add Newline: Select the check box to have each record created on a separate line in the text file.
-
-
Pre-Define Formats: Click to use a wizard to setup the data export. Using the wizard will override the current column selection.
-
Format: Select a file format from the list.
-
CVS: Comma separated values.
-
Custom List: Custom separated list.
-
Separator: Click to select a predefined value from the list. Based on selection made, each data element within export records would be separated by the separator symbol or action selected.
-
Custom Separator: Else, enter a custom Separator value. This is used as alternate to the predefined separators to be used to separate each data element in the export .
-
-
Enclose In: Click to select a predefined value from the list. Based on selection made, each data element within export records would be enclosed by the value selected
-
Custom Enclose In: Else, enter a custom Enclose In value. This is used as alternate to the predefined Enclose In to be used to enclose each data element in the export .
-
-
-
JSON: JavaScript Object Notation format.
-
TSV: Tab-separated values.
-
-
Columns: Select one or more data columns to include in the export. Click [>] to move the selected columns from the Available panel to the Selected panel.
-
Use the UP and DOWN arrows to reorder the columns in the Selected panel.
-
-
Click OK.
-
Click OK to confirm.
-
-
Columns Configuration: You can also select from a list of SQL functions, separators, operators, and table columns (fields) to setup your export.
Note:
The Column Data Type selection determines the location of the column - Header, Data or Footer.-
Click Add to add (insert) selection after the cursor.
-
Click Add Before to add (insert) the selection before the cursor.
-
Click Replace to replace the current value selected in the editor with your new selection.
-
Click Delete to delete the current value selected in the editor.
-
-
-
-
Click Save .
Editing a General Export File
-
From the OPERA Cloud menu, select Miscellaneous, select Exports, and then select General Membership or Back Office.
-
Enter a search criteria and click Search.
-
Select the export definition in search result, click the vertical ellipsis Actions menu, and then click Edit.
-
Update the export configuration.
-
Click Save.
Deleting Export Definitions
-
From the OPERA Cloud menu, select Miscellaneous, select Exports, and then select General Membership or Back Office.
-
Enter a search criteria and click Search.
-
Select the export definition in search result, click the vertical ellipsis Actions menu, and select Delete.
-
Update the export configuration.
-
Click Save .
Cloning and Copying Exports to other Properties
You can clone an export within the same property (with a new name) or copy an export to other properties. Change to a Hub location to copy exports to other properties. Your assigned role(s) must be granted the Copy or Duplicate Export task.
-
From the OPERA Cloud menu, select Miscellaneous, select Exports, and then select General Membership or Back Office.
-
Enter a search criteria and click Search.
-
Select the export definition in search result, then click the vertical ellipsis and select Copy.
-
On the Copy Export page complete the following details:
-
Property: Select one ore more properties from the list.
-
Export Name: Enter a name for the export; the source export name is populated.
-
Export Description: Enter a description for the export; the source export description is populated.
-
-
Click Copy Export.
Parent topic: Exports