Edit AppSettings.json
- 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.)
-
- 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. You do not need to set these two keys if
you use IWA authentication.
"ArcGISServer": { "Username": "", "Password": "" }
- 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. |