Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrate with Office from iOS applications

We want our app to be able to open an Excel document in the Excel app for editing and then be able to come back and see the changes when sent back to our application.

I have not been able to get it to work with OneDrive or SharePoint links although it says that this is possible on this page:

https://msdn.microsoft.com/en-us/library/office/dn911482.aspx

Did I misunderstand this somehow?

like image 662
stonecompass Avatar asked Dec 04 '25 14:12

stonecompass


1 Answers

Open the document in the Excel iOS app

Similar to setting mimetypes. You can do this on iOS using the UIDocumentInteractionController class.

Developer.apple.com docs

tutorial

Fetch the contents of the document inside your app

As another commenter suggested, hit the Microsoft Graph API for this one:

[[[[[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

like image 102
viraj_os Avatar answered Dec 07 '25 03:12

viraj_os



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!