ArcFM Desktop Developer Guide
Field Editors

Resource Center Home

By using the ArcFM Attribute Editor, users can edit fields belonging to a feature or object. Field values are edited by using the object editor embedded in the ArcFM Attribute Editor. Text values are edited by basic text-boxes, and fields associated to a domain are edited by pull-down combo-box controls. These controls are familiar to users of windows applications and handle most data entry needs.

Custom Field Editor Captions are limited to writeable, non-null fields.

There may be instances when a field should be edited using a special control that is specific to your organization’s business process. Perhaps you want to enforce data entry standards for legal descriptions of landbase parcels. A date field is another example of a custom field editor. You could enforce a standard date format by providing a date selector control to the user to populate the field. In fact, ArcFM’s Attribute Editor uses a standard date control for all date fields.

While a custom field editor is used to control how the user edits a field and what is displayed, it may also dictate what is displayed when the user is NOT editing. For example, a field editor may display the date and time when the user is editing. When the field is not being edited, it may display only the date. You may use the IMMCustomFieldEditor::Caption property to display the date and time while the field is NOT edited. This property allows you to ensure that the field consistently displays information in the same format.


Interfaces:
    IMMCustomFieldEditor
    IMMCustomFieldEditorEx

Component Category:
    MMCustomFieldEditor
    MMCustomFieldEditorInPlace
    MMCustomFieldEditorTab

Developer Samples
    C# Field Editor

In-Place Field Editors

In-place custom field editors behave in a manner that is similar to the editors that are built into the attribute editor. They are displayed on the attribute editor’s grid. The attribute editor’s standard date control functions just as an in-place field editor would (see example).

Tabbed Field Editors

Tabbed custom field editors provide a way for the user to manipulate the field values from a separate tab in the attribute editor. In Schneider Electric’s sample implementation of Designer, the Extended Data Manager (EDM) editor is implemented as a tabbed field editor (see example). If you have Designer installed, you can view more information about custom field editors for Designer.

Once you've created a custom tabbed field editor, you can determine which tab is displayed by default on the Attribute Editor. The DefaultTabPriority registry key determines the order in which tabs appear on the Attribute Editor. This key is located here: HKEY_CURRENT_USER\SOFTWARE\Miner and Miner\ArcFM8\Attribute Editor. The Configure Design Tab page in the Configuring ArcFM Solution online help (Configure Designer section) discusses this registry key in more detail.

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com