【发布时间】:2019-05-13 13:52:53
【问题描述】:
我需要使用 url 获取存储在 Lotus Notes 文档中的附件。
我可以获取文档,好的,但是当我尝试使用 url 获取附件时,我得到一个 404 Attachment not found。
尝试使用 Domino 数据服务指南中的示例
http://infolib.lotus.com/resources/domino/8.5.3/doc/designer_up1/en_us/DominoDataService.html
获取文档的url是
这会生成 json,从这里我可以看到附件名称(如下所示)
"boundary":"--0__=8FBB096ADFDA03268f9e8a93df938690918c8FBB096ADFDA0326"
},
{
"contentType":"application\/octet-stream; name=\"081409362-E_Notif_GoThrough_Regist.PDF\"",
"contentID":"<2__=8FBB096ADFDA03268f9e8a93df93869091@local>",
"contentDisposition":"attachment; filename=\"081409362-E_Notif_GoThrough_Regist.PDF\"",
"contentTransferEncoding":"base64",
"data":"JVBERi0xLjQKJeLjz9MKMSAwIG9iaiA8PC9EZWNvZGVQYXJtczw8L0sgLTEvQ29sdW1ucyAyN
当我尝试网址时
https://mym.dev-imaginovation.net/Applications/Correspondence/corr2017.nsf/api/data/documents/unid/FB1620DDCA1D8C538025836000401312/$File/081409362-E_Notif_GoThrough_Regist.PDF
我得到一个网页
{ “代码”:404, “文本”:“未找到”, “消息”:“未找到附件” }
有什么想法吗?
(链接不起作用,因为无法从 www 访问开发站点)
谢谢
格雷姆
【问题讨论】:
标签: json lotus-domino