MANIFEST.XML file description



The following is an example manifest file:

<?xml version="1.0" encoding="UTF-8" ?>
<bundle xmlns="http://v8.1c.ru/8.2/addin/bundle" name="YourAddInName">
<component os="Windows" path="AddIn_ChrWindows_x86.exe" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="i386" client="Firefox" clientVersion="40.*" />
<component os="Linux" path="AddIn_ChrLinux_x86.sh" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="i386" client="Firefox" clientVersion="40.*" />
<component os="Linux" path="AddIn_ChrLinux_x86_64.sh" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="x86_64" client="Firefox" clientVersion="40.*" />
<component os="Windows" path="Addin_IEWindows_x86.cab" type="plugin" object="MyAddInIE.AddInServiceEx" arch="i386" client="MSIE" />
<component os="Windows" path="AddIn_IEWindows_x86_64.cab" type="plugin" object="MyAddInIE.AddInServiceEx" arch="x86_64" client="MSIE" />
<component os="Windows" path="AddIn_ChrWindows_x86.exe" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="i386" client="Chrome" />
<component os="Linux" path="AddIn_ChrLinux_x86.sh" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="i386" client="Chrome" />
<component os="Linux" path="AddIn_ChrLinux_x86_64.sh" type="plugin" object="com.YourCompanyName.YourAddInName.1" arch="x86_64" client="Chrome" />
<component os="MacOS" path="AddIn_SafMacOS_x86.pkg" type="plugin" object="application/add-in-example-1" arch="i386" client="Safari" />
<component os="Windows" path="AddInNative.dll" type="native" arch="i386" />
<component os="Windows" path="AddInNative64.dll" type="native" arch="x86_64" />
<component os="Linux" path="AddInNative.so" type="native" arch="i386" />
<component os="Linux" path="AddInNative64.so" type="native" arch="x86_64" />
<component os="iOS" path="AddInNative_iOS.dylib" type="native" arch="Universal" buildType="developer" />
<component os="iOS" path="AddInNative_iOS.a" type="native" arch="Universal" buildType="release" />
<component os="Android" path="libAddInNative_Android_i386.so" type="native" arch="i386" codeType="c++" />
<component os="Android" path="AddInNative_Android.apk" type="native" arch="i386" codeType="java" />
<component os="Android" path="libAddInNative_Android_ARM.so" type="native" arch="ARM" codeType="c++" />
<component os="Android" path="AddInNative_Android.apk" type="native" arch="ARM" codeType="java" />
<component os="WindowsRuntimePhone" path="AddInNative_WinRT_Phone_ARM.dll" type="native" arch="ARM" />
<component os="WindowsRuntimePhone" path="AddInNative_WinRT_Phone_Win32.dll" type="native" arch="i386" />
<component os="WindowsRuntime" path="AddInNative_WinRT_x64.dll" type="native" arch="x86_64" />
<component os="WindowsRuntime" path="AddInNative_WinRT_Win32.dll" type="native" arch="i386" />
</bundle> 

where:

  • name - unique add-in name (required for the mobile platform only), see 1C:Enterprise add-in naming rules
  • os - operating system, one of the following:

    • Windows

    • Linux

    • MacOS

    • WindowsRuntime

    • WindowsRuntimePhone

    • Android

    • iOS

  • path - file name in the archive
  • type - add-in type, one of the following:
    • plugin - browser extension

    • native - native component

    • com - COM component

    For the mobile platform, the only available type is native.
  • object - name of the object that will be created by the browser
  • arch - CPU architecture where the add-in will run, one of the following:
    • i386 - 32-bit 

    • x86_64 - 64-bit

    • ARM - 32-bit ARM

    • Universal - universal binary file for iOS containing executable code for ARM and ARM64

  • client - browser used by the web client, one of the following:
    • MSIE - Internet Explorer

    • Firefox - Mozilla Firefox

    • Chrome - Google Chrome

    • Safari - Safari

  • clientVersion - browser version (mandatory for Firefox)
  • buildType - target application type (iOS only), one of the following:
    • developer - application build intended for developers

    • release - application to be published

  • codeType - library programming language (Android only), one of the following:
    • c++ - library written in C++

    • java - library written using Java Native Interface

Correspondence between clientVersion values specified in the manifest file and Mozilla Firefox versions:

Manifest.xml Firefox
40.* 40 or later

When an add-in is changed (a new release or patch), add a new version number to the file name, for example: AddInNative_1_1.so. This rule does not apply to browser extensions. For extensions, change the object name.
Note that entries for Google Chrome and Mozilla Firefox refer to the same installer package.

Next page: IOS_MANIFEST_EXTENSIONS.XML file description