如何通过附加pdf来更新OneNote页面内容时解决最近的不一致行为?

时间:2019-12-03 14:54:44

标签: onenote onenote-api

我向https://www.onenote.com/api/beta/me/notes/pages/page-id/content发送了PATCH请求 与身体

--MyAppPartBoundary Content-Disposition: form-data; name="Commands" Content-Type: application/json

[ { 'target':'body', 'action':'append', 'content':'<p><h2>03 Dec 2019 20:12:54</h2>' },{ 'target':'body', 'action':'append', 'content':'<img data-render-src="name:image-part-name0" alt="PDF file as images"/>' }, { 'target':'title', 'action':'replace', 'content':'Patient Results (03 Dec 2019 20:12:54)' } ] --MyAppPartBoundary Content-Disposition: form-data; name="image-part-name0" Content-Type: application/pdf %PDF-1.3 xxxx %%EOF --MyAppPartBoundary--

直到最近,这始终产生了“ pdf打印输出”。 现在,它会随机生成一个带有图标的“ pdf文件”,该图标需要展开才能查看实际的pdf,而“ Online OneNote”无法完成此任务,而OneNote的平板电脑或应用程序形式可以完成此任务。

enter image description here

有办法强迫旧的行为吗?

0 个答案:

没有答案
相关问题