<>
- To add a new choice entry click on the cell in the Choices list box and type in the text of the choice entry. Press Enter to finish. To add another entry click on the next cell and type in the text.
- To modify the existing choice entry click on the cell containing the entry in the Choices list box, modify the text of the entry and press Enter.
- To delete the existing choice entry click on the cell containing the entry in the Choices list box and press the Delete button located next to the Choices list box.
- To change the order of entries click on the cell containing the entry and press the Up or Down buttons next to the Choices list box.
- If you want to add more blank entries to the list box press the “More Rows” button.
/\\(?\\d{3}\\)? ?\\d{3}[-.]\\d{4}/
The information about format of regular expressions can be found in the [[8000_appendices:0500_regular_expressions|Appendix E]] or on the following site: [[http://www.regular-expressions.info/reference.html|http://www.regular-expressions.info/reference.html]]
If you want to re-use the same regular expression in different attributes you can assign a textual name to your expression. To do this you have to modify the UIConfig.props file located in the BIN directory of your //**AwareIM**// installation to add an entry representing your expression. The entry must start with the “TextInputMask” prefix and contain the name of the expression followed by the “#” symbol and then followed by the expression itself, for example:
TextInputMask1=US Phone#/\\(?\\d{3}\\)? ?\\d{3}[-.]\\d{4}/
Once you define your expression in the UIConfig.props file you need to re-start the Configuration Tool and the name of your expression will appear in the “Input Mask” combo box.
===== SQL type =====
AwareIM automatically manages database for all attributes that the configurator defines, so SQL types of each attribute are usually determined by default. It is, however, possible to specifically indicate an SQL type to be used for a particular attribute, for example:
DECIMAL (2,10)
===== Attribute Presentation =====
All attribute types allow specifying presentation options for the attribute. These options control how the input control displaying attribute value will be generated on a business object form.
This description will be displayed in red.
Account.Balance<=50 and for the second one as Account.Balance>50 |
|''DISPLAY FORMAT''|this element type allows you to display attributes on forms or inside query results using a different format than the format defined in the attribute itself. This can be especially useful when displaying numbers – you may want to display numbers in different formats on different forms. You can even store the format in an attribute of some object – in this case you should specify a tag expression as the format value, for example <> |
|''LABEL''|this element type allows you to specify different labels for attribute on different forms depending on the conditions. This element type can also be used to display a text on a Google Map marker (see GOOGLE MAPS MARKER type below)|
|''ACCESS''|this element type allows you to make an attribute visible or read-only based on a condition. This can be especially useful if you define a presentation rule for an attribute on a particular form – this way you can make attribute visible or read-only on a particular form only|
|''REQUIRED''|this element type allows you to make an attribute mandatory based on a condition. This can be especially useful if you define a presentation rule for an attribute on a particular form – this way you can make attribute mandatory on a particular form only|
|''INPUT MASK''|this element type allows you to specify an unput mask for entering text attributes on forms, which can be different to the mask defined in the attribute itself. You can even store the input mask in an attribute of some object – in this case you should specify a tag expression as the input mask value, for example <> |
|''CHOICES''|for attributes that have choices it is sometimes necessary to display a subset of all possible choices on a particular form. This element type allows you to specify exactly which choices will be present on the form|
|''GOOGLE MAPS MARKER''|this element type should only be used when the attribute holds the address or coordinates of a Google Map marker. This element type allows you to customize the look and feel of the marker and select from a predefined set of available markers or even use a completely customized marker (for this to work you need to define the marker and put it on the server somewhere where it is accessible via a URL. The URL needs to be provided when defing this element type. You can watch a video tutorial about this here: [[5000_videos:770_google_maps_markers]] |
==== Script ====
For users who are familiar with Javascript this dialog allows specifying additional attribute configuration parameters when attributes are initialized and displayed. See [[:3500|Programmers Reference Guide]] for more details.