Sample Addresses Control
This component adds the Aptify addresses control to a form. This is the same control that appears on the Persons, Companies, and Organizations forms and provides a single control to manage multiple addresses.
See the Aptify Customer/Member Management Guide for Managing Address Information for more information on this addresses control and its available features.
Note that the entity must have one or more embedded links to the Addresses entity's ID field (for example, an AddressID field) to successfully use this control. The control will be blank if you add it to an entity that does not have an AddressID embedded field.
Typically, your entity's generated form will already have one or more fields from the Addresses entity. The addresses control replaces these fields so you should delete any redundant fields from the form before adding the Addresses control.
If your entity has multiple embedded links to the Addresses entity, such as a WorkAddressID and HomeAddressID fields, the control automatically identifies the links and populates the address selection drop-down list according. (The drop-down list uses the Display Name for the embedded link field.)
This component uses the following input property:
- Toolbar Indent: This property specifies how far to the right of the control the address toolbar appears on the form. The address toolbar is the first row of the addresses control that includes the Address Type drop-down field and four buttons. By default, the Toolbar Indent is set to 50 pixels and the toolbar is aligned with the Line 1 caption below it. You can increase or decrease the indent size as desired.