Auto-save with userdata?

Is it possible to pass and retrieve data in the callback with status 2 when the document editor has been closed, similar to the userdata in forcesave? I need to pass a data from the last user to the callback.

1 Like

Hello @joshuaLA

Unfortunately, custom userdata field can only be passed back via Status 6.
Currently, with the Status 2 there is no way to pass custom data back to Callback Handler.

Could you please specify the usage scenario on what kind of information you want to pass back to the Callback Handler with Status 2 and how you want to use it further, so we can consider adding the field?

遇到同样的问题,callback需要想向后端应用发送一些其他参数。比如body添加一些自定义参数,后端使用

Hello @ShiLijun

status=2。
在与项目集成的时候,后端对请求的接口有一定的标准要求,比如在body 或header中必须要某些信息,否则就被拦截,当成非法请求,这样导致callback不成功。

不好意思,但是我还不太了解您使用方案。
基本上,你说得对, Status-2 不允许传递自定义参数。