cancel
Showing results for 
Search instead for 
Did you mean: 

QuickOffice Integration

angillet
Champ in-the-making
Champ in-the-making
Hello,

I'm developping an iPad app based on Alfresco mobile for iOS and I’m facing the following issue concerning QuickOffice Integration :

QuickOffice opens the document (which has been previously downloaded on the iPad) but does not show the "Save Back" feature after modifications.

Here are the information passed to QuickOffice via the "annotation" NSDictionnary object :


Printing description of annotation:
{
    PartnerApplicationDocumentExtension = alf01;
    PartnerApplicationDocumentUTI = "com.alfresco.mobile.qpa";
    PartnerApplicationIdentifier = AlfrescoMobile;
    PartnerApplicationInfo =     {
        PartnerApplicationDocumentPath = "/var/mobile/Applications/196F8848-69DD-4FD8-A863-04EF5821577C/Documents/LocalSites/Sample: Web Site Design Project/Budget Files/budget.xls";
    };
    PartnerApplicationSecretUUID = "";
}

My app bundle name is obviously different than com.alfresco.mobile.                                                    
I assume that explains why QuickOffice does not recognize it as Alfresco and hides the feature, but I'd like to have enlightenments on how Alfresco Mobile communicates with QuickOffice.

Thanks for your help.

Regards,
Antoine Gillet
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
Hello Antoine

Because Quickoffice retain control of who has access to the Save Back feature, you'll need to contact them in order to acquire the API key. This key gets sent with the UIDocumentInteractionController's annotation dictionary and activates the Save Back option within Quickoffice. Once you have the key I can describe to you how to recompile the Alfresco Mobile app so that it picks the key up.

There are two issues I'm afraid you'll face:
1 - Quickoffice was recently acquired by Google. We're not sure what their future plans are for the app. You might have trouble getting hold of someone in order to acquire the API key.
2 - The Save Back feature is currently not working correctly on iOS 6. We have raised the issue with Google and they're aware. (It doesn't just affect Alfresco; all Quickoffice partner apps are currently unable to use Save Back).

Thanks,
Mike

marc_dubresson
Confirmed Champ
Confirmed Champ
Quickoffice was recently acquired by Google. We're not sure what their future plans are for the app. You might have trouble getting hold of someone in order to acquire the API key.

Antoine, if you're working on a commercial app I maybe able to get you to the first level. Contact me at marc.dubresson…alfresco.com. But as Mike says it may not work.

Regards,

Marc