Edit an existing cloud variable or create a new cloud variable to gather information for ordering a catalog item.

Before you begin

Role required: sn_cmp.cloud_service_designer.

About this task

You can edit a variable to change its type, for example from Masked to Lookup Select Box. You can also change the variable set of a variable, its order, make it active inactive, change its permission and availability options, and many more changes.

Procedure

  1. In the Cloud Admin Portal, navigate to Design > Cloud Catalog Items.
  2. Open a catalog item, click the Variable Sets sub tab and click the variable set to which the variable to edit belongs to.
    All the cloud variables for the selected variable set appear under the Cloud Variables sub tab.
  3. Click the variable set that you want to edit.
  4. On the form, fill in the fields.
    Table 4. Type Specifications (The fields in this section vary for each variable type)
    Field Description
    Variable Width Width for the variable on the catalog item page, to specify what percentage of the screen size that it can span.

    This field appears for all variable types except for break, container end, container start, container split, container layout, and label variables.

    Validation (Regex) Regular expression that validates the user input for the property.
    Validation Error (Regex) If the expression isn't valid, an error appears.
    Table 5. Default Value
    Field Description
    Default Value Default value for the variable.
    Variable Attributes Attributes for this variable.
    Table 6. Permissions
    Field Description
    Read Roles Roles that can view the variable before or after requesting the catalog item or record producer. Only a user with the roles specified in this field can view the variable.
    Write Roles Roles that can edit the variable in the variable editor after requesting the catalog item or record producer. If a user doesn't have the roles specified in this field, the variable is read-only in the variable editor.
    Create Roles Roles that can create values for the variable before requesting the catalog item or record producer. If a user doesn't have the specified role, the variable is read-only before requesting the catalog item or record producer.
    Table 7. Availability
    Visible If selected, the variable is visible in the item form before ordering the item, in the Variable editor after ordering the item, and in the cart view of the item.
    Read-only If selected, the variable is read-only in the Cloud User Portal and cannot be edited.
  5. Click Update once you've made all the changes to the variable.