## Generic component reference

The following fields are included for all component types in Creator Script Editor:

Amount | Defines how many entries of the selected component are created on the script. If this field is empty, the default is one entry.
Set all values as random with length | Defines how the S60 Creator tool will randomly pick the values for all items: Default: the typical length of an item, for example, the length of a contact's name. Maximum: S60 Creator tool will generate as much data as allowed for a given component type. Custom length: the value is show in the Item value field. You can add the custom length manually in the Item value field, or select from the Mode drop-down list.

The following table provides more information on specific handling of some fields. Note that it is important to enter data in the correct format, unless you use random values.

Tip: For additional guidance, follow the instructions available on the Creator component dialogs.

Date time | In date and time fields, the data should be entered as: YYYY-MM-DD (for year-month-date), T (a separator between date and time), HH:MM:SS (for hour-minute-second). For example: 2008-03-03T12:45:30
Landmark | For the geographical coordinates of the location, enter the numerical values in the following format: -nn.nnnn - nn.nnnn, which is used in XML. Latitude: positive value means North, negative value means South, and zero is the Equator. Longitude: positive value means East, negative value means West, and zero is the Prime Meridian. Altitude: zero point is the sea level. For example: 139.9194 35.6361
Files | Directory: defines which types of files are created to the device. By default, the directory path is c:\data. To change the location, type the new directory here. Type: defines the file format and identification for the file types created on the device. For example, in the case of the JPEG file format, three different identifications are possible: 200kB, 25kB and 500kB. For a list of supported file types in the current release, see the Release Notes. You can also add DRM encryption to files in the Item type field. Note! For the Accumulated and Interval fields, only the following format for duration is supported: PnYnMnDTnHnMnS. For example, "P3Y6M4DT12H30M5S" represents a duration of "three years, six months, four days, twelve hours, thirty minutes, and five seconds". If you leave the Type field empty, an empty directory is created.

##### Related references

- Contact components
- Message components
- Calendar components