Export Outline

Export metadata, either from the active database outline or an input outline file, to a specified XML file. Permission required: database manager.

Syntax

Syntax diagram for export outline.DBS-NAMEFILE-NAMEDIM-NAMEFILE-NAMEALT-NAME-SINGLE

You can export metadata information from a database in the following ways using export outline.

KeywordDescription

DBS-NAME

Specify the database name instead of the outline file path.

FILE-NAME

Specify the outline file path instead of the database name.

all dimensions

Export information about all dimensions in the database.

list dimensions

Export information about only the listed dimensions. Specify each dimension name within curly braces, and separated by commas.

tree

Export only the member names in the hierarchy, omitting full metadata details.

with alias_table

Export using only the member names indicated in the specified alias table.

to xml_file

Specify the full path to the output XML file.

Notes

Example

export outline sample.basic all dimensions to xml_file "c:/temp/basic.xml";

Exports all outline information from Sample Basic to the specified XML file, basic.xml.

export outline sample.basic list dimensions {"Product", "Market"} tree to xml_file "c:/temp/basic.xml";

Exports information about Sample Basic dimensions Product and Market from to the XML file.

Export outline "c:/temp/basic.otl" all dimensions with alias_table "Default" to xml_file "c:/temp/basic.xml";

Exports information about all dimensions in Sample Basic from the specified outline file to the XML file, using only default alias names.