## Components

The scripts created with Creator Carbide.c++ Extension contain various types of components, such as phonebook items (contacts and contact groups), messages, notes, bookmarks, files, and appointments.

You can add as many components to the scripts as needed. See the following example of the component view in the Creator Script Editor:

For more information on the specific issues related to component types, see the following references:

- Generic component reference
- Contact components
- Message components
- Calendar components

### Random component values

You have two choices for entering component information in Creator Script Editor. You can either directly type in the values of your choice in the Item value field, or select them from the Mode drop-down list. The number of choices in the Mode field depends on the type of the value:

- There is 0 choices with Contact set reference
- Two choices when fixed values in combos
- Four choices when values are in text fields
- Five choices when Phone number Log, Contact, message components

Using random values means that when the script file is run on the device, the S60 Creator tool randomly generates the component values (such as contact names, phone numbers or to-do items), using a pre-defined resource file.

The length of an entry for random values can be selected as follows in the Mode drop-down list:

- Edit mode: User can edit the field data
- Random – Default length: Random data, default length
- Random – Custom length: Random data, user edits the data length
- Random – Max length: Random data, maximum length for the data
- Increase for each copy: applied only with phone number fields in contacts, messages and logs. This mode is used together with the "amount" attribute. When the Increase for each copy mode is selected, phone number will increase for each copy of component created. For example, if phone number "12300" is given, the first copy will have phone number "123000", and the second copy will have "12301", third "12302" and so on. If the Amount attribute of Phone number is used, each copy will have a different phone number.

In each component dialog, you can save time by applying random values (Edit mode, Random – Default length, Random – Custom length, Random – Max length) for all items and let Creator generate the test data.

Note: When filling in the values manually, ensure that you enter the data in correct format due to a limited data validation in this tool.

##### Related concepts

- Contact set

##### Related tasks

- Adding components
- Modifying components