Version: 10.2.1c and 10.2.1c SP3 |
ArcFM Engine Overview > Application Framework Overview > Implementing Customizations |
Product Availability: ArcFM Viewer for ArcGIS Engine, Responder Some ArcFM Solution applications utilize the Application Framework to determine what elements are included in the user interface and where each element is displayed. When a user launches one of these applications, the Application Framework looks for custom layout files and uses the information to create the user interface. For example, if you create a custom toolbar and wish to display it in the user interface, it must be added to a custom layout file. A sample copy of a Custom Layout file is installed here: Program Files\Miner and Miner\ArcFM Solution\Bin\Xml\Sample.custom.layout. Use this file in conjunction with the Application Framework documentation to create your own Custom Layout file and customize your user interface. NOTE: DO NOT add customizations to the read-only custom layout files installed in the ArcFM Solution\Bin\Addons directory or those installed in ArcGIS\Bin\Responder\Addons. These files may be overwritten in future releases and your customizations lost. |
|
||||
The following Application Framework customizations are discussed in this section:
Implement a Customization Once you have developed a customization (e.g., MDI tab or command), it must be added to a custom layout file that is distributed to all users who require to access your customization. Customizations may be added to a custom layout file (e.g., ArcFMViewer.custom.layout, Responder.custom.layout) which the Application Framework uses to display the user interface. Some ArcFM Engine customizations can be added using the ArcFM Engine Administrator. Creating this custom layout file and using the ArcFM Engine Administrator for distributing customizations is discussed on the distribute customization pages (ArcFM Engine). The XML code sample in this section illustrates how a custom layout file might look. Each of the Application Framework customization sections discuss how the element should be added to the custom XML file.
Remove Functionality If you wish to remove an element from the user interface (e.g., toolbar, command, etc.), you may do so using the Custom Layout XML file. Create a <RemoveObjects> tag and in it place a <RemoveObject> tag for each element you wish to remove. The <RemoveObject> tag requires ObjectType and Key values. The example below depicts how your custom layout file may look if it contains ONLY remove objects. The MainWindow tags, although empty, are still required.
Validating XML When you have finished creating and updating your Custom Layout file, you may use the XSD file provided with the installation to verify that your XML is accurate. Apply the Miner.layout.xsd to your Custom Layout file for verification. With ArcFM Viewer for ArcGIS Engine, this file is installed here: ArcFM Solution\Bin\Xml. With Responder, this file is installed here: Responder\Client\Xml. |