Skip to main content

Use sdk.js Matching Filez Service

SDK script file acquisition methods are as follows:

  1. Browser access http://xxx/docs/version (xxx is the Filez Document Platform 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: For methods to automatically update sdk.js, see Section 3: Common Questions -> 3. How to automatically get the latest sdk.js when sdk.js is updated