Convert PDFs to Google docs and get extracted text along with link to original PDF file into a spreadsheet
问题 I'm just facing a little problem in getting the link to the PDF file when I run a script to convert PDF files to Google docs with OCR then populate the results into a google sheets. So far I get the name of the file created (Google Docs) and the extracted text. what I'm trying to achieve: on the 3rd column, I'd like to get the link of the PDF file corresponding to the Google docs created I've tried to include the variable pdf to the push array: var pdf = document.getId(); ... output.push(