【问题标题】:How to create and upload a file in google Drive using Salesforce APEX and Drive APIs?如何使用 Salesforce APEX 和 Drive API 在 google Drive 中创建和上传文件?
【发布时间】:2013-06-03 03:22:58
【问题描述】:

我想在 Salesforce.com APEX 代码和 Google Drive API 的帮助下创建文档 (txt) 并将其上传到 Google Drive。 有人有想法吗? 谢谢

【问题讨论】:

    标签: salesforce google-drive-api apex-code


    【解决方案1】:

    是的,你可以。

    由于 Google Drive SDK 基本上是 HTTP 请求,并且 Apex 中有 HttpRequest Class,因此您可以将 Google Drive SDK 与 Apex 一起使用。但是,Google Drive 中没有对 Apex 的官方支持,您应该为它构建自己的库。这是documentation 关于 Drive API 的详细信息,其中包含您将使用 Drive SDK 获得的请求和响应。

    【讨论】:

    • 感谢 JunYoung 的帮助。看看我是否可以使用 REST API
    猜你喜欢
    • 2017-08-25
    • 1970-01-01
    • 2020-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多