| Arguments | Description | Example Values |
|---|
/USE-LAST-VALUES | Reads values from the registry chosen by the last person who used the Organization Chart Wizard. If this argument is specified, all subsequent arguments are ignored. |
/FILENAME=<filename> | Required, unless /DATASOURCE or /MICROSOFT-EXCHANGE is specified. Specifies the data file name you want the wizard to read. If the file name includes spaces, put the name in quotation marks. |
/DATASOURCE=<datasourcename>,TABLE=<tablename>,DBQUALIFIER=<databasequalifier> | Required, unless /FILENAME or /MICROSOFT-EXCHANGE is specified. Specifies the name, table, and qualifier of the ODBC-compliant database you want the wizard to read. |
/MICROSOFT-EXCHANGE | Required, unless /FILENAME or /DATASOURCE is specified. Specifies that you want the wizard to read the Microsoft Exchange Server data. |
/NAME-FIELD=<fieldname> | Optional. Specifies the field in the data file where the wizard can find employee names. If you don't specifiy this field, the wizard will look for common names, such as Name, Employee, Employee Name, or Employees. If it doesn't find a likely field, the wizard will fail. |
/MANAGER-FIELD=<fieldname> | Optional. Specifies the field in the data file where the wizard can find Report-To information. If you don't specify this field, the wizard will look for common names, such as Manager, Reports To, or Reports-To. If it doesn't find a likely field, the wizard will fail. |
/FIRSTNAME-FIELD=<fieldname> | Optional. Specifies a field in the data file where the wizard can find employees' first names. If you don't specify this field, the wizard will look for common names, such as First Name or First-Name. If it doesn't find a likely field, the wizard will continue building the organization chart. |
/UNIQUEID-FIELD | Optional. Specifies the field containing the unique identifier. If this argument is not specified, the wizard will look for a field containing the same data values that are in the MANAGER-FIELD field. If it doesn't find a likely field, the wizard will fail. |
/SHAPE-FIELD | Optional. Specifies a field in the data file where the wizard can find the name of the organization chart master in Microsoft Office Visio that you want it to use. If you don't specify this field the wizard will look for common names, such as Master Shape or Master-Shape. If it doesn't find a likely field, the wizard will continue building the organization chart using shapes it chooses based on the reporting structure. For example, you can put Executive in the Shape field for the person at the top of the organization chart to indicate that the wizard should use the Executive shape for this person when it builds the organization chart. |
/HYPERLINK-FIELD=<fieldname> | Optional. Specifies a field in the data file where the wizard can find the text used for a shape's hyperlink. The wizard will search the data file for a column named HYPERLINK or URL. If it doesn't find a likely field, the wizard will continue building the organization chart. The wizard will read the contents of the column and store that text in the shapes as hyperlink addresses. The hyperlink destination is accessible by right-clicking the shape and then clicking a hyperlink . |
/PAGES=<top employee> <num levels> PAGENAME=<pagename>,<top employee> <num levels> PAGENAME=<pagename>... | Optional. Specifies how you want the wizard to break the organization chart into pages. If you specify this argument, you must identify the top employee on each page (required). Optionally, you can include the number of reporting levels to include on a page, and the page name. If you don't specify the number of levels, the wizard includes all levels on a page. Names with spaces must be in quotation marks. Always include a space between <top employee> and <num levels> and PAGENAME=<pagename>. If you don't specify the pages, the wizard defines the pages, and places an appropriate number of shapes on each page. |
/DISPLAY-FIELDS=<fieldname>,<fieldname>, ... | Optional. Specifies the fields from the data file that you want to display in each box in the organization chart. If you don't specify fields, the wizard displays the employee name. The order of this list is the order displayed on the shapes. |
/CUSTOM-PROPERTY-FIELDS=<fieldname> HIDDEN, <fieldname> HIDDEN, ... | Optional. Specifies the fields from the data file that you want to add to the organization chart shapes as custom property fields. Optionally, insert the HIDDEN modifier after custom properties you want to be invisible to the user. For example, your data file might include fields for department name, telephone number, and office number. By adding these fields as custom property fields on the organization chart shapes, you allow users of the organization chart to access the data in these fields by right-clicking the shapes representing employees. Also, you can use the HIDDEN modifier to store information about the source data in your shapes, without displaying it in the Custom Properties Window. For example, if you want to create an organization chart that shows the hierarchy of tasks from Microsoft Project, you can store the Project Task ID value as a hidden custom property. |
/LINK-TO-DB | Valid only when /DATASOURCE and /CUSTOM-PROPERTY-FIELDS are also specified. Not required if you specify /LINK-PAGE-ACTIONS or /LINK-SHAPE-ACTIONS. Specifies that you want to establish a link between the data source that contains your organization data and the organization chart drawing. When a link is in place, the user of the drawing can pass changes you make in the data source to the drawing, and vice versa. When the link is in place, the default page and shape actions include UPDATE-SHAPES-ONOPEN, UPDATE-RECORD, and UPDATE-SHAPE. This means that if you make changes to the data source, the changes will be passed to the drawing automatically the next time you open the file. You can also pass changes back and forth by right-clicking a shape in the drawing and updating the shape if changes have been made in the data source, or by updating a cell in the data source if changes have been made to the shape. |
/LINK-PAGE-ACTIONS=<action>, <action>, ... | Valid only when /DATASOURCE and /CUSTOM-PROPERTY-FIELDS are also specified. If you specify /LINK-PAGE-ACTIONS, you don't need to use the /LINK-TO-DB argument. Specifies that you want to establish a link between the data source that contains your organization chart data and the organization chart drawing. When a link is in place, you can pass changes you make in the data source to the drawing, and vice versa. | UPDATE-SHAPES means you can right-click the page and choose this command to pass changes from the data source to all shapes in the organization chart drawing. UPDATE-DATABASE means that you can right-click the page and choose this command to pass changes from the organization chart drawing to the data source. UPDATE-SHAPES-ONOPEN means that if you make changes to the data source, the changes will be passed to the drawing automatically the next time you open the file. UPDATE-SHAPES-ONINTERVAL means that changes to the data source will be passed to the drawing automatically at the interval you specify. |
/LINK-SHAPE-ACTIONS=<action>, <action>, ... | Valid only when /DATASOURCE and /CUSTOM-PROPERTY-FILEDS are also specified. If you specify /LINK-SHAPE-ACTIONS, you don't need to use the /LINK-TO-DB argument. Specifies that you want to establish a link between the data source that contains your organization data and the organization chart drawing. When a link is in place, you can pass changes you make in the data source to the drawing and vice versa. | SELECT-RECORD means that you can right-click a shape in the organization chart drawing and select a record in the data source that you want the shape to represent. The data in the record is passed to the shape. UPDATE-RECORD means that you can right-click a shape in the drawing and choose this command to pass changes you have made to the shape to a record in the data source. UPDATE-SHAPE means that if you have made changes to the data source, you can right-click a shape in the drawing and update the shape to reflect the changes. UPDATE-SHAPE-AND-RECORD means that you can right-click a shape in the drawing and choose this command to delete both the shape from the drawing and the record in the corresponding data source. |
/SHOW-DIVIDER-LINE | Optional. Specifies a divider line on organization chart shapes that separates the first line of display text (such as employee name) from the second (such as title). |
/SYNC-ACROSS-PAGES | Optional. Specifies that all shapes representing the same employee that appear on different pages of the drawing will be synchronized, so that changes made to one of the shape's text or custom properties will be made to all the shapes. |
/HYPERLINK-ACROSS-PAGES | Optional. Specifies that all shapes representing the same employee that appear on different pages of the drawing will contain hyperlinks to each other. The hyperlink destination is accessible by right-clicking the shape and then clicking the hyperlink. . |
/LAUNCHGUI | Optional. Specifies that the drawing-definition organization chart wizard pages will be displayed to the user, so that the user can interactively modify the command-line arguments. The user will not be able to change the data source specified in /FILENAME, /DATASOURCE, or /MICROSOFT-EXCHANGE. |