CLI Reference > Configuration Management Commands > si demoteproject
si demoteproject
demotes the state of a project
si demoteproject [(-s state|--state=state)] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)] [--[no]failOnAmbiguousProject] [--devpath=path] [--projectRevision=rev] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
si demoteproject demotes a project to a lower state of development. For example,
si demoteproject --state=Development --project=c:/Aurora_Program/bin/Libra/project.pj
A state is a textual description, defined by the administrator, used to classify the condition of a revision in a history. If no state is assigned to a revision at checkpoint, a default value of Exp (for Experimental) is used. See the Windchill RV&S Help Center for details on setting up states.
Just as you can with a project member, you can demote the project itself (change its state, in other words). Only the project is demoted, not the members of the project.
Demoting projects is for historical purposes only. To more effectively control project workflow, PTC recommends using Windchill RV&S
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
specifies the target state to be set for the demoted project. If no state is specified, the project is demoted to the next state.
See the diagnostics reference page for possible exit status values.
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si demote, si promote, si promoteproject
Miscellaneous: ACL, diagnostics, options, preferences