hi,I have set up forcesave and disabled autoSave, but the autoSave function is still working. How can I solve this problem?

version:8.2.2


config:
image

Hello,
Please provide your full Editor’s initialization config as file

this config:

{
“type”: “desktop”,
“documentType”: “word”,
“key”: “__ffff_x.x.x.xnew.docx71734670302051”,
“token”: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJkaXJlY3RVcmwiOiIiLCJmaWxlVHlwZSI6ImRvY3giLCJpbmZvIjp7Im93bmVyIjoiTWUiLC”,
“callbackUrl”: “http://x.x.x.x:3001/track?filename=new.docx&useraddress=__ffff_x.x.x.x”,
“editorConfig”: {
“customization”: {
“autosave”: false,
“forcesave”: true
}
},
“createUrl”: “http://x.x.x.x:3001/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en”,
“templates”: [
{
“image”: “”,
“title”: “Blank”,
“url”: “http://x.x.x.x:3001/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en
},
{
“image”: “http://x.x.x.x:3001/images/file_docx.svg”,
“title”: “With sample content”,
“url”: “http://x.x.x.x:3001/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en&sample=true
}
],
“isEdit”: false,
“review”: true,
“chat”: true,
“coEditing”: null,
“comment”: true,
“fillForms”: true,
“modifyFilter”: true,
“modifyContentControl”: true,
“copy”: true,
“download”: true,
“print”: true,
“mode”: “edit”,
“canBackToFolder”: true,
“curUserHostAddress”: “__ffff_x.x.x.x”,
“lang”: “en”,
“userid”: “uid-1”,
“userImage”: “http://x.x.x.x:3001/images/uid-1.png”,
“name”: “John Smith”,
“userGroup”: null,
“reviewGroups”: “null”,
“commentGroups”: “{}”,
“userInfoGroups”: “null”,
“fileChoiceUrl”: “”,
“submitForm”: true,
“plugins”: “{"pluginsData":}”,
“actionData”: “null”,
“fileKey”: “{"fileName":"new.docx","userAddress":"__ffff_x.x.x.x"}”,
“instanceId”: “http://x.x.x.x:3001”,
“protect”: true,
“goback”: {
“blank”: false,
“url”: “http://x.x.x.x:3001
},
“close”: {
“visible”: false
}
}

Looking forward to recovery,thanks

Please clarify, what parameters do you pass within the token? It seems that the token value of the config is incorrect. You can send the actual token value in the PM

The token is fine and can be used for document opening, saving, etc. I have an additional question to ask. I am currently running the community version. Does the community version support the ‘forcesave’ setting?

Yes, this setting should work no matter which version is used. Please provide the screen recording of the above-mentioned issue reproduction for more clarity. Also, it would be helpful if you PMed us the link to your Document Server website where we can test



Due to local deployment testing, the link cannot be provided,The above is I used for running the results video and the version for documentServer。

hi DmitriiV,I have resolved this issue, it is my own problem, and there is no problem with the documentServer. Thank you for patiently answering the questions these days.

Hello @zhao, could you please share what was the reason for the problem?