Edit AppSettings.json

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

    • Mobile.Admin

    • ServiceBus.Configuration.Reader

    • Monitoring.Reporter

  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.
    "ArcGISServer":
       {
        "Username": "",
        "Password": ""
       }
    
  8. Save and close Appsettings.json.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?