|
Table of Properties on the Display Tab of the Domain Designer |
In the Properties panel on the Display tab, you can view, edit, and save properties of a set or item. You select an item in the Sets and Items panel, and click the Edit button. For example, open the Simple Domain example in the repository for editing in the Domain Designer. On the Display tab, select the Opportunities: Amount item, then click the Edit button in Properties. Set the Data Format and Summary Function, as shown in the previous figure. Click the Save button. The property settings determine how sets and items appear to users of the Domain.
The following table shows the properties and possible actions you can perform on the, depending on what you select in the other panels. For example, if you select the ID of a table in the Resources panel, you can view and edit the ID.
Panel |
Selection |
Properties |
Possible actions |
||||||||||||||||||||||||||||||||||||||||||||||||
Resources (Table List view) |
Table |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
Resources (Table List view) |
Field (column) |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
Resources (Join Tree view) |
Table, field, or join tree |
None |
None |
||||||||||||||||||||||||||||||||||||||||||||||||
Sets and Items |
Set |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
Sets and Item |
Item |
|
|
Labels and descriptions are visible to users of the Domain. Descriptions of sets and items appear as tooltips in the Ad Hoc Editor and help report creators understand their purpose. The internationalization keys are the property names of internationalized strings in locale bundles. Selecting an item in Sets and Items displays the internationalization keys, if there are any, for the item under Bundle Keys.
After defining the list of sets, subsets and items, refine the way the Domain appears to users by renaming and providing descriptions for sets, subsets, and items. Click Edit in the Properties panel to modify properties. The following table describes each of the properties in detail:
Property |
Appears On |
Description |
ID |
Table, Field |
An identifier used within the Domain. Default table and field IDs are based on the names in the data source, but you may change the ID of a table as long as it remains unique. Set and item IDs are a separate namespace in which each ID must be unique, although based on table and field IDs by default. The ID property value must be alphanumeric and not start with a digit. When editing a Domain that has been used to create Topics and reports, you should not change any IDs. For more information, see Maintaining Referential Integrity. |
Data Source |
Table, Field |
Alias of the data source for the selected field or table. |
Source Table |
Table, Field |
Name of the selected table, or of the field’s table, in the data source. Does not change when the ID property of a table is modified. |
Datatype |
Field |
Java datatype of the selected field. |
Label |
Set, Item |
User-friendly name displayed in the Data Chooser and the Ad Hoc Editor. |
Description |
Set, Item |
User-friendly description displayed as tooltip on the label in the Ad Hoc Editor. The description helps the report creator understand the data represented by this set or item. |
Label Key |
Set, Item |
Internationalization keys for the label and description properties; locale bundles associate this key with the localized text for the label or description. Keys may only use characters from the ISO Latin-1 set, digits, and underscores (_). |
Source |
Item |
References the Domain names of the table and field associated with this item; the syntax is Domain_jointree.Domain_table.datasource_field. |
Data Format |
Item |
Default numerical format (such as number of decimal places) for the item when used in a report. |
Summary Function |
Item |
Default summary function for the item when used in a report. Numerical items have functions, such as sum or average. Other items have either a function to count distinct values or to count all values. |
Field or Measure |
Item |
Designates whether the item is a qualitative value (field) or quantitative value (measure). By default, all numeric types are assumed to be measures, and all non-numeric items are plain fields. Use this setting to override the default. For more information, see Terminology. |
From the Export menu you can choose to export the design or locale bundle for the Domain, as described in the next section.