Update

Syntax

Publish -upd -f Path [-ov] [-date "YYYY-MM-DD HH:mm:SS"] [-msg
 
LanguageCode]
Note: The file to be updated must already have been published. See Publish (12).
Example
 
Publish -upd -f c:\rootfolder\3.ivt
Command reference

Name 

Required 

Notes

publish 

Yes 

The name of the executable. It is located in the \bin directory of a WDS site. For example, the following is a typical location:

\WDS 8.2\wds82_1\bin\Publish.exe

-upd 

Yes 

Updates a file to a new version, and adjusts any existing reports based on the file.

-f Path 

Yes 

The complete path to the table or other file to be updated.

All folders in the path should be separated with back slashes (\). If the path contains any spaces, enclose it in double quotes (").

-ov 

No 

Specifies that all existing reports will be overwritten to match the default view of the source file.

[-date "YYYY-MM-DD
 HH:mm:SS"]

No 

The publishing date.

The format must be as shown. For example, 2010-06-29 05:30:00 specifies that the files will be published on June 29, 2010, at 5:30 AM.

-msg MessageLanguageCode 

No 

Specifies the language in which publishing messages will appear.

For example, -msg fra specifies that feedback messages in the command prompt window, such as "Report successfully added" or "Path not found," will appear in French.

If not present, messages appear in the language that is specified in the operating system's "Regional and language options." (If no valid language information is found, defaults to English.)

Note that errors which occur while parsing a command will appear in English. This is because at that time in the publishing process, the language resource files have not yet been initialized.


See also:

Publishing from the command line