Is there any way we can use API call or workflow to rename file that are uploaded to the attachment field?
Thank you
Is there any way we can use API call or workflow to rename file that are uploaded to the attachment field?
Thank you
可以的,前提是你得知道你要改的附件名称是哪一个,假如是多个的话就比较麻烦
我也不确定附件的排序规则,
调用表单更新接口时,先获取附件转为 base64,
更新的时候选择覆盖(新增的话得手动把旧的删掉)就可以把文件名带上 就等同于重命名了
I see, I'm actually currently using API base64 to insert files using the correct file name.
I'm just thinking if there is a more efficient way of just uploading the file and renaming it later.
Because I think converting it to base64 might be heavy on the processor if the file is huge.
Currently, there is no direct API interface, but you can use the worksheet API base64 to upload attachments. Please refer to: https://bbs.mingdao.net/topic/668