从 iOS 个应用程序与 Office 集成
Integrate with Office from iOS applications
我们希望我们的应用程序能够在 Excel 应用程序中打开一个 Excel 文档进行编辑,然后在发送回我们的应用程序时能够返回并查看更改。
我无法让它与 OneDrive 或 SharePoint 链接一起使用,尽管它在这个页面上说这是可能的:
https://msdn.microsoft.com/en-us/library/office/dn911482.aspx
我是不是理解错了?
在 Excel iOS 应用程序中打开文档
类似于设置 mimetypes。您可以在 iOS 上使用 UIDocumentInteractionController
class 执行此操作。
在您的应用程序中获取文档的内容
正如另一位评论者所建议的那样,点击 Microsoft Graph API 以获得此评论:
[[[[[graphClient me] drive] items:<item_id>] request] getWithCompletion:^(MSGraphDriveItem *item, NSError *error){
//Returns a MSGraphDriveItem object or an error if there was one.
}];
https://github.com/microsoftgraph/msgraph-sdk-ios/blob/master/docs/items.md#get-an-item
我们希望我们的应用程序能够在 Excel 应用程序中打开一个 Excel 文档进行编辑,然后在发送回我们的应用程序时能够返回并查看更改。
我无法让它与 OneDrive 或 SharePoint 链接一起使用,尽管它在这个页面上说这是可能的:
https://msdn.microsoft.com/en-us/library/office/dn911482.aspx
我是不是理解错了?
在 Excel iOS 应用程序中打开文档
类似于设置 mimetypes。您可以在 iOS 上使用 UIDocumentInteractionController
class 执行此操作。
在您的应用程序中获取文档的内容
正如另一位评论者所建议的那样,点击 Microsoft Graph API 以获得此评论:
[[[[[graphClient me] drive] items:<item_id>] request] getWithCompletion:^(MSGraphDriveItem *item, NSError *error){
//Returns a MSGraphDriveItem object or an error if there was one.
}];
https://github.com/microsoftgraph/msgraph-sdk-ios/blob/master/docs/items.md#get-an-item