Skip to main content

SDK Script File Acquisition

SDK script file acquisition methods are as follows:

  1. Browser access http://xxx/docs/version (xxx is the zOffice service deployment address), you can see the deployment service information as shown in the following example

    {
    "version":"v7.1.0.0",
    "productName":"zOffice",
    "timeStamp":"20231222174309",
    "clientTimeStamp":"20231227185652",
    "swcoreTimestamp":"20231226150321",
    "description":"zOffice v7.1 release",
    "serverTimestamp":"20231227210431",
    "ifixVersion":0
    }
  2. Copy the clientTimeStamp field value, which is 20231227185652

  3. Browser access http://xxx/docs/static/${clientTimeStamp}/sdk.js to get the SDK script content, this is a non-modular package

    http://xxx/docs/static/${clientTimeStamp}/sdk.esm.js and http://xxx/docs/static/${clientTimeStamp}/sdk.cjs.js to get esm package and cjs package

  4. Right-click and save as a js file

Note: It is strongly recommended to use SDK script files that match the deployed zOffice service