WPS Online Editing
Starting from v6.0.0, document online editing is supported. You can use the same AppID and AppSecret as WPS document online preview.
HAP also supports integration with the private deployment edition of WPS Docs for document online editing. Contact the HAP team offline for details.
Network requirement: if you integrate with the cloud edition, make sure the HAP system access address is accessible from the Internet.
-
Visit https://solution.wps.cn/ (register first if you do not have an account)
-
Refer to the integration process documentation at https://solution.wps.cn/docs/console/flow.html and confirm that the required preparation is complete
Select Online Editing Preview as the type for both the test application and the production application
-
Configure the callback gateway of the production application in the format
HAP system access address/wps, for example:
-
Obtain the
AppIDandAppSecretof the production application
-
Set the environment variables
ENV_WPS_PREVIEW_APPIDandENV_WPS_PREVIEW_APPSECRETin the yaml configuration file of the corresponding microservice applicationENV_WPS_PREVIEW_APPID: "AppID value"ENV_WPS_PREVIEW_APPSECRET: "AppSecret value" -
Restart the service