Import Command

This topic describes the command to import a file.

To start the Import Wizard:

Orgplus9.exe <Import Filename> [options]

The import file must be of a valid type such as.xls or .txt. The chart file created by the imported is saved using the same file name.

[options]:

-q or -f

Suppress the import wizard dialog box.

-y   

Suppress the message “already exists. Do you want to replace it?" and replaces the file automatically.

-c or -NoLaunch

Close OrgPlus after import.

-t[template flags] <Template File>

Specify <Template File> to apply after import. Template flags are detailed in the next table.

-s1 <Number>

Insert sub-chart break every <Number> levels.

-s2 <Field Name>

Insert sub-chart breaks based on <Field Name>.

-s3 <Number1, Number2,..>

Insert sub-chart breaks at levels <Number1>, <Number2>, etc.

-ss <Number>

Set the minimum number of boxes for smart sub-chart breaks. See Creating Sub-charts Using the Sub-chart Wizard for more information.

-sn <Field Name>

Name sub-charts using field specified in the <Field Name> parameter.

-hpos <Field Name> or -h1 <Field Name>    

Specifies the field that should be used as the “Position” field when building the hierarchy.  If this argument is not specified, OrgPlus will determine which field to use automatically.  Must be used in conjunction with the “hrepto” or “h2” argument.

hrepto <Field Name> or h2 <Field Name>  

Specifies the field that should be used as the “Reports To” field when building the hierarchy.  If this argument is not specified, OrgPlus will determine which field to use automatically.  Must be used in conjunction with the “hpos” or “h1” argument.

Template Flags (Example: Orgplus9.exe “MyData.xls” -tdbo “MyTemplate.opxt”)

a

Copy all template elements.

o

Overwrite existing elements.

n

Add fields not defined in the current project.

d

Apply design template.

b

Apply branch template.

l

Apply box template.

i

Copy directories.

r

Copy reports.

g

Copy groups.

p

Copy profiles.

f

Copy conditional formats.

m

Copy master page elements.

h

Copy chart rules.

c

Copy constants.

s

Copy searches.