SDK Script File Acquisition
SDK script file acquisition methods are as follows:
-
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
} -
Copy the
clientTimeStampfield value, which is20231227185652 -
Browser access
http://xxx/docs/static/${clientTimeStamp}/sdk.jsto get the SDK script content, this is a non-modular packagehttp://xxx/docs/static/${clientTimeStamp}/sdk.esm.jsandhttp://xxx/docs/static/${clientTimeStamp}/sdk.cjs.jsto get esm package and cjs package -
Right-click and save as a
jsfile
Note: It is strongly recommended to use SDK script files that match the deployed zOffice service