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:
- Information about the user who is currently editing or previewing
- Metadata of the document that the current user is operating on
- URL address for downloading the document
- 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.
- The business system page obtains the Document Platform's jssdk.
- 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.
- The business system frontend calls the Document Platform's jssdk ZOfficeSDK.mount() API, passing the corresponding parameters to complete the call. Reference Example