Skip to main content

Frontend SDK Integration Mode

Applicable Version

Filez Document Platform supports Frontend SDK integration mode from v8.1 onwards

When integrating a third-party application with the Filez Document Platform, the third-party needs to provide the following four types of information to the platform:

  1. Information about the user who is currently editing or previewing
  2. Metadata of the document that the current user is operating on
  3. URL address for downloading the document
  4. URL address for saving the document after editing

The frontend SDK integration method requires embedding the online editing/preview page as an iframe in the business system's page.

  1. The business system page obtains the Document Platform's jssdk.
  2. When the business system needs to call online editing or preview services, the business system frontend requests the business system server to obtain important data, such as: userinfo (user information), meta (document metadata), Document Platform address, etc.
  3. The business system frontend calls the Document Platform's jssdk ZOfficeSDK.mount() API, passing the corresponding parameters to complete the call. Reference Example