30 Name and Describe the CSElement Asset

The Name screen is used to define metadata about the CSElement. From this metadata, a developer can identify what the CSElement does and the arguments it uses to perform its function.

Note:

At any time in the process of creating a CSElement, you can save the CSElement. WebCenter Sites will display the CSElement's Inspect form. To return to the CSElement form, click the Edit link.

To name and describe the CSElement, in the Name screen, fill in the fields.

  1. (Required). In the Name field, type a unique, descriptive name for the CSElement asset. It's best to use a name that describes what the CSElement does.

    Valid Entries

    • Up to 64 alphanumeric characters (the first character must be a letter)

    • Underscores (_)

    • Hyphens (-)

    • Spaces (these will be converted to underscores when used in the SiteCatalog pagename for the template)

    Note:

    Make sure you have chosen a name for your CSElement asset using the guidelines in the section Before You Begin Creating SiteEntry Assets.

  2. In the Description field, type a brief description of the CSElement asset. You can enter up to 128 characters.

  3. In the Legal Arguments field:

    1. Enter an argument that may be passed to the CSElement and click Add Argument.

    2. In the fields that are displayed:

      • Specify whether the argument is optional or required.

      • Provide a description of the argument (to help you know the purpose of the argument you are creating).

      • Specify legal values (including descriptions) for the argument.

    (You can specify as many arguments and legal values as you require by clicking the Add Arguments and Add Legal Value buttons.)

  4. Click Continue to open the Element screen.