ExportHierarchy
Use this command to export a hierarchy in a format that can be used as an input file for the SyncHier command. You may use the ExportHierarchy command in conjunction with the SynchHier command to migrate hierarchy structures from one Longview environment to another Longview environment.
Note: You must have read access to the hierarchy you wish to export.
Syntax
EXPORTHIERARCHY DimensionName Symbol FileName"
where:
- DimensionName is a dimension containing the symbols of the hierarchy to be exported.
- Symbol is the relative root symbol of the hierarchy to export.
- FileName is the name of the file the data is exported to. If FileName includes spaces, enclose it in double quotation marks; for example:
"C:\My Documents\Hierarchy.txt"
Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path. If the path specified does not exist, it will be created. The folder path can have a maximum length of 260 characters.
Syntax example
ExportHierarchy TimePeriods AYR LV_TimePeriods.txt
An example of this hierarchy export may look similar to the following:
Example
{AYR{{Actuals Current Year{Standard{Auto{Manual{Neither
AYR{AYR_Q1{+{Actuals Q1{Standard{Auto{Manual{Neither{1
AYR_Q1{AYR_01{+{Actuals Jan{Standard{Auto{Manual{Neither{1
AYR_Q1{AYR_02{+{Actuals Feb{Standard{Auto{Manual{Neither{2
AYR_Q1{AYR_03{+{Actuals Mar{CarryForward{Auto{Manual{Neither{3