> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# NetServer Services element

> NetServer Services element

Configuration settings used to manage SuperOffice web services. It specifies whether an application is working locally or remotely.

```XML theme={null}
<Services>
  <add key="DefaultMode" value="Local" />
  <add key="SwitchDefault" value="Remote" />
  <add key="SwitchFailover" value="60" />
  <add key="RemoteBaseURL" value="http://localhost/remote/services88/" />
  <add key="ApplicationToken" value="" />
</Services>
```

| Name | Description | Default |
| - | - | - |
| ApplicationToken | Application token passed with services to identify the client application. | |
| DefaultMode | Mode used for Service calls. Options are Local or Remote. | Local |
| RemoteBaseURL | Base URL and file name for remote web services (SuperOffice.Services.Stub). This value will be overridden by `WebServices.RemoteBaseURL`. | `http://localhost/webs/SuperOffice.Web.Services` |
| SwitchDefault | Default mode for the switch. | Remote |
| SwitchFailover | Timeout before failover in seconds. | 60. |

**Switch mode**, when set, will attempt to communicate with the setting defined in Services-SwitchDefault. If unable to communicate successfully, NetServer will switch to the other setting option (Local or Remote) and attempt to communicate again.

See the [NetServer Core reference][1] for details about handling this programmatically.

[1]: https://github.com/SuperOfficeDocs/superoffice-docs/blob/main/docs/en/api/reference/netserver/core/SuperOffice.Configuration.ConfigFile.Services.yml


## Related topics

- [NetServer Scripting element](/en/onsite/web-config/scripting.md)
- [NetServer Diagnostics element](/en/onsite/web-config/diagnostics.md)
- [NetServer WebServices element](/en/onsite/web-config/webservices.md)
- [NetServer BatchService element](/en/onsite/web-config/batchservice.md)
- [NetServer Security element](/en/onsite/web-config/security.md)
- [NetServer CustomerService element](/en/onsite/web-config/customerservice.md)
