Submit and gDrive

Hi experts,

I need a button to send a PDF (or a FDF) into a Google Drive.
Is it possible?


JR Boulay


5 Answers

I'd go with FDF following these criteria

  1. HTTP submission here:
    http://acrobatusers.com/tutorials/form-submit-e-mail-demystified

  2. Drive App here:
    https://developers.google.com/apps-script/reference/drive/drive-app

About HTTP submission, in the past it helped me a lot to watch this video:
http://tv.adobe.com/watch/acrobat-community-tv/working-with-form-data/


Ricardo Falegnami   

Otherwise the email submission solution (asynchronous but still valid):
http://www.googleappsscript.org/home/fetch-gmail-attachment-to-google-drive-using-google-apps-script

also check out all possible triggers:
https://developers.google.com/apps-script/understanding_triggers

and these examples:
http://www.googlegooru.com/take-control-of-gmail-only-check-it-once-per-hour-with-google-apps-script/ https://www.johneday.com/422/time-based-gmail-filters-with-google-apps-script

maybe at Google they are already thinking about a new trigger the like of "new email in the box" to improve our workflow.


Ricardo Falegnami   

Great links. Thanks.


JR Boulay   

There's actually a third way: HTML-style submission
http://acrobatusers.com/tutorials/print/submitting-data
(HTTP Get style Name/Value Pairs, only works for small data)

So, if you only have a bunch of fields (I don't know how many are allowed exactly) you can send them directly to a Google Spreadsheet.
Look at the doPost(e) method suggested in this thread:
http://stackoverflow.com/questions/11976777/how-do-you-post-form-submissions-to-a-google-drive-spreadsheet-using-google-app


Ricardo Falegnami   

Ricardo, you save my day more than I could have ever hoped.

mathRound(1000 * thank you)

;-)


JR Boulay   


Please specify a reason: