Edit AppSettings.json

  1. Create a new API Key via ArcFM Solution Center with the following roles:

    • Mobile.Admin

    • ServiceBus.Configuration.Reader

    • Monitoring.Reporter

    Click here to take it for a test drive! (The link opens/switches to the Solution Center app, accesses the User Management tab and API Keys section, then adds the above roles and gives the key a name. All you need to do is click Save! Or change the name, if you’d like.)

  2. Open the AppSettings.json file for editing.
  3. Type the ClientId and ClientSecret of the API key created in step 1.
    "IntegrationService":
       {
        "ClientId": "!!! REQUIRED !!!",
        "ClientSecret": "!!! REQUIRED !!!"
       }
    
  4. Set the TransportType setting to either "AmqpWebSockets" or "Amqp" depending on which protocol you determined you should use when verifying connectivity with the ArcFM Connectivity Evaluator (ACE) tool.
  5. Type the string Schneider Electric provides for Organization name.
    "Organization":
       {
        "Name": "!!! REQUIRED !!!"
       }
    
  6. The network file storage location refers to the location where replicas are stored on the hard disk. For StorageLocation, use a fully qualified network path, such as 'c:\\data\\replicas' or '\\\\myserver.miner.com\\replicas'. Use double slashes wherever a single slash occurs in your path. For WebsiteAddress type the full URL to reach the Sync Service root from client machines, for example, https://gdprodservices.arcfmsolution.com/ArcFM.Mobile.SyncService.
    "NetworkFileStorage":
       {
        "StorageLocation": "!!! REQUIRED !!!",
        "WebsiteAddress": "https://{COMPUTERNAME}.{USERDNSDOMAIN}/ArcFM.Mobile.SyncService"
       }
    
  7. If your Map Services are federated via Portal for ArcGIS and your authentication method is OAuth2, include the following keys in the file. Be certain that the user you specify has permissions, which can be set in Portal for ArcGIS, to access the map services you wish to take offline. You do not need to set these two keys if you use IWA authentication.
    "ArcGISServer":
       {
        "Username": "",
        "Password": ""
       }
    
  8. Save and close Appsettings.json.

API Keys Tab

API keys can be thought of as service accounts, which help control non-human logins to various systems. These keys are listed in alphabetical order.

Click here to take it for a test drive.

This opens Solution Center straight to User Management.


QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?