|
Only the site administrator should run the LoadFromFile utility. Most load tags provide a tag that allows the specification of the user ID that should be used to create the object being loaded.
|
|
On Windows operating systems, if a LoadFromFile argument includes spaces, you must enclose the argument in double quotes (“ ”) and precede the quotes with a backslash (\). For example, where part 4 includes spaces in the CONT_PATH argument:
windchill wt.load.LoadFromFile
-d D:\Dev\LoadfileforTesting\Part.xml -CONT_PATH \"/wt.inf.container.OrgContainer=TST/wt.pdmlink.PDMLink Product=part 4\" |
Argument
|
Description
|
---|---|
d <data file name>
|
Specifies the name of the object file that contains the objects to be loaded into the Windchill database. This argument is required.
It is recommended that you provide the full path name of the data file. The file must reside on the Windchill server.
|
u <user name>
|
Specifies the name of the user to authenticate the additions being made to the database.
The user argument is optional for the command line; however, the LoadFromFile utility prompts for user authentication using a window.
|
p <user password>
|
Specifies the password for the authenticating user.
The password argument is optional for the command line; however, the LoadFromFile utility prompts for user authentication using a window.
|
CONT_PATH
|
Specifies the target container for the data when the target container is not Exchange. This argument is optional. By default, the target container is Exchange.
|
|
When loading into a container, an implied hidden folder called Default exists. To load into a folder other than the default folder, use the following format:
<folder>/Default/Widgets<folder>
|