Sample - Responder Mobile Customizations: Custom Settings

Version 3

    Versions: 10.0.1 - current

    Product Availability: ArcFM Mobile

    Part of the Responder Mobile Customizations sample

     

    Use this customization to add a tab to the Settings dialog in your ArcFM Mobile application.

    CustomSetting.png

     

    How to Implement:

    This sample is part of a larger developer sample project. Follow the steps outlined on the Miner.Mobile.Samplespage.

     

    How to Use:

    1. First, you will need to modify the application configuration file (e.g., ResponderMobile.exe.config). By default, this file is installed here: AppData\Roaming\Miner and Miner\Responder.
    2. In the application configuration file look for the <configSections> tag. In this tag, enter the following line of XML.

    <section name="CustomConfigurationSection" type="Miner.Mobile.Common.Samples.CustomSettings.CustomConfigurationSection,
    Miner.Mobile.Common.Samples, Version=1.0.0.0, Culture=neutral"
    />

    1.   Add the following XML after the </ClientSyncSettings> tag.

    <CustomConfigurationSection CustomProperty="My Custom Property"/>

    1. Save and close the application configuration file (e.g., ResponderMobile.exe.config).

     

    Requires:

    The class files shown below are required for the project to compile successfully.

     

    FileDescription
    ClassUsingCustomSetting.csThis sample class shows how to retrieve a custom setting once it's been implemented.
    CustomConfigurationSection.csThis sample class defines the configuration file setting.
    CustomSettingsView.xaml.csThis is the xaml file that contains the user interface for the custom setting in the ArcFM Mobile user interface
    CustomSettingsViewModel.csThis class binds the setting in the configuration file to the field on the Settings tab.