Hello,
My zimlet has
JS and JSP
1) in compose view,
JS is calling JSP with a file path(local drive)
2) JSP uploading the file to server (/service/upload?fmt=raw)
and it returns as:
200,'null','013afbb0-7c77-494d-b078-b6029d784abd:30d2388f-9d18-42fc-abdd-c414c4b86968'
here,
------
httpStatus = 200
client_token = null
server_token = '013afbb0-7c77-494d-b078-b6029d784abd:30d2388f-9d18-42fc-abdd-c414c4b86968'
Now i have to add this uploaded document to my mail. Here i am confused what to do.
i used in
js as below:
-----------------------
msg.setSubject("Message subject test");
msg.addAttachmentId(server_token);
on sendMsg i got below error:
--------------------------------
method: SendMsgRequest
msg: upload not found: '8fdb85f4-d9f3-4d96-a40c-966ef55ddebc:13c8f7cf-b8c0-4955-8663-a07cafe7044e'
code: mail.NO_SUCH_UPLOAD
detail: soap:Sender
trace: btpool0-0:1251799378674:8620ef4fcc63768f
request:
Please suggest what to do.