Scope: managed applications, ordinary applications.
1. In most cases, you do not need to take special actions to make your configurations (client application and web server) function on Linux OS and macOS. In this chapter, you can find recommendations for special cases stated in Appendix 7 of 1C:Enterprise Developer Guide.
- To administer 1C:Enterprise server cluster, use an administration server (ras) and an administration utility (rac) instead of v83.ComConnector COM object. Utilities rac and ras are not available for macOS.
- To access working directory paths, instead of COM objects of Windows OS, use global context methods UserDataWorkingDirectory, DocumentsDirectory, TempFilesDir.
In other cases, use other COM technology alternatives operating both on Linux OS and macOS, for example, Native API.
2.2. We recommend that you develop configuration add-ins (both client and server) using Native API. It allows you to create cross-platform add-ins for different operating systems supported by 1C:Enterprise platform and web client operating in web browsers. For more information on developing add-ins, see 1C:Enterprise platform documentation.
- Transfer to the InternetMail object.
- Develop add-ins for Linux OS and macOS that support mail clients in Linux OS and macOS.
When using Standard Subsystems Library in the configuration, you can also use functions of common modules Common and CommonClient to edit file names.
3. You can disable them for some secondary (server) functions of the application in Linux OS and macOS. For example, the following functionality might be secondary for a trade management application: data synchronization using direct connection to other applications, email import from external email clients, and other.
To disable them, hide these commands from the command interface on Linux OS and macOS or display a message
"<The operation> is available only on Windows OS".
Procedure CommandProcessing(CommandParameter, CommandExecuteParameter)
Information = New SystemInfo;
If Information.PlatformType <> PlatformType.Windows_x86 AND Information.PlatformType <> PlatformType.Windows_x86_64 Then
ShowMessageBox(, NStr("en = 'Printing in Microsoft Word is available on Windows OS only.'"));
If you use Standard Subsystems Library in the configuration, use the IsLinuxClient, IsMacOSClient, and IsWindowsClient functions from common modules Common and CommonClient.
- General requirements for configurations
- Chapter "36. Specifics of cross-platform application development" in 1C:Enterprise Developer Guide