0

I have made a Google Drive app and I now have trouble getting my app to be shown for the "Open with" menu.

In the Google Apps Developer console I have registered "text/csv" as the primary mimetype and checked "Allow users to open files that can be converted to a format that this app can open.".

I have tried, as a test, to add the mimetype "text/plain". Then I can access Google Docs files fine in my app.

My questions is, what mime type should I register to be shown in the context menu for Google Spreadsheet files?

Jacob
  • 39
  • 2
  • Hi Do you get your answer ? I have the same issue when I had the mime type application/vnd.google-apps.spreadsheetI get an error in the developper concole saying the user request is not valid after clicking on save modifications. – St3ph Jul 20 '15 at 20:04

1 Answers1

0

The MIME type for a Google Spreadsheet would be "application/vnd.google-apps.spreadsheet". Also for the extension of Spreadsheet is ".gsheet".

You can refer here and here for more info on different MIME types for Google files and their extensions.

Hope that helps!

Community
  • 1
  • 1
KRR
  • 4,647
  • 2
  • 14
  • 14