【发布时间】:2017-02-14 14:52:02
【问题描述】:
我正在构建 OneNote 加载项,我需要一些导出功能。
从我的搜索中,我发现我只能使用带有 preAuthenticate 参数的 OneNote API。
它给了我 html 内容,我确认它在浏览器中用图像正确呈现。但几分钟后,资源链接出现以下错误,我必须使用上述 API 重新获取内容 html。
{
@api.url: "http://aka.ms/onenote-errors#C20130",
code: "20130",
message: "No HTTP resource was found that matches the request URI Resource not found, perhaps the public link has expired. Try a new public page content call.."
}
所以,我的问题是
- 有没有办法在资源过期的情况下获取 OneNote 页面的 html 内容?
- 是否有任何插件或 OneNote API 可以将 OneNote 页面导出为 pdf 文件?
提前致谢!
【问题讨论】:
标签: office365api office-addins office365-apps onenote onenote-api