CLI Reference > Server Administration Commands > integrity publishviewset
  
integrity publishviewset
publishes a ViewSet to Windchill RV&S Server
Synopsis
integrity publishviewset [--canImport=user:<user>|group:<group>,..] [--canModify=user:<user>|group:<group>,..] [--[no]customizable] [--description=value] [--[no]mandatory] [--name=value] [--[no|confirm]overwriteExisting] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-F file|--selectionFile=file)] file
Description
integrity publishviewset publishes a ViewSet to Windchill RV&S Server. For detailed information on publishing ViewSets, see the Windchill RV&S Help Center.
This command is available to support ViewSet backward compatibility for ViewSets. To publish ViewSets, it is recommended that you use the Windchill RV&S administration client.
Options
This command takes the universal options available to all integrity commands, as well as some general options. See the options reference page for descriptions.
--canImport=user:<user>|group:<group>,..
specifies users or groups in the security realm who can import the ViewSet.
* 
When publishing a ViewSet of an older supported release, latest Windchill RV&S client users are also able to view and import that ViewSet. If you only desire that users of older Windchill RV&S client import the ViewSet, create a group in the security realm for those users and then specify it using --canImport.
--canModify=user:<user>|group:<group>,..
specifies the users or groups in the security realm who can modify the ViewSet.
--[no]customizable
specifies if the ViewSet can be customized by users after it is imported. The default is customizable.
* 
If --mandatory is specified, this option is not valid and the ViewSet is not customizable.
--description=value
specifies an optional description for the ViewSet. Use quotation marks for the description if it includes spaces.
--[no]mandatory
specifies if the ViewSet is mandatory. For a detailed description of mandatory ViewSet behavior and their impact on users, see the Windchill RV&S Help Center. By default, ViewSets are not mandatory. This option cannot be used with --customizable.
--name=value
specifies a new name for the ViewSet you are publishing. Use quotation marks if the name includes spaces.
--[no|confirm]overwriteExisting
determines the action to take if overwriting an existing ViewSet on the Windchill RV&S Server. If none of the following is specified, ViewSets are overwritten without Windchill RV&S prompting you.
no causes the command to fail without prompting.
confirm prompts you for a decision (default).
file
specifies the location and filename of the ViewSet you are publishing. For example, c:/temp/ViewSet.vs.
Diagnostics
See the diagnostics reference page for possible exit status values.
See Also
Commands: integrity loadrc, integrity setprefs
Miscellaneous: ACL, diagnostics, options, preferences