Edit AppSettings.json
- Create a new API Key via Solution Center with the following roles:
-
Mobile.Admin
-
ServiceBus.Configuration.Reader
-
Monitoring.Reporter
-
- Open the AppSettings.json file for editing.
- Type the ClientId and ClientSecret of the API key created in
step 1.
"IntegrationService": { "ClientId": "!!! REQUIRED !!!", "ClientSecret": "!!! REQUIRED !!!" } - 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.
- Type the string Schneider Electric provides for Organization name.
"Organization": { "Name": "!!! REQUIRED !!!" } - 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" } - 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": "" } - Save and close Appsettings.json.