addcustomfield
Add a custom field to capture additional information and store it with files. Surround SCM includes the following default custom fields: Owner, Assigned, and Due Date. If you want to delete these custom fields, see rmcustomfield.
sscm addcustomfield -dName -cFieldCode -fFieldFormat [-vDefaultValue] [-lListItem,ListItem,...] [-nMin] [-mMax] [-h] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
-c | Field code for custom field. |
-d | Custom field name. |
-f | Custom field format. Valid values are Text, Integer, Float, List, SCMUser, DateTime, and CheckBox. DateTime field format: yyyymmddhh:mm:ss. |
-h | Display online help for the command. |
-l | Values to use in a List field. Separate values with a comma. |
-m | Maximum value for Integer and Float fields, or maximum length for Text fields. |
-n | Minimum value for Integer and Float fields. |
-v | Custom field default value. Valid CheckBox field values are checked and unchecked. Valid DateTime field values are: Current for the current time; Hours, Day, Weeks, or Months followed by :<integer> for a time relative to current time; date in the following format: yyyymmddhh:mm:ss. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |