I was writing the following Code to send a specific PDF Document in My Drive through e-mail.
The Document has to be attached into the e-mail's body as a link.
the Script, of course, doesn't work because the link doesn't give access to any real Document.
I'm trying to create a match between the text field NAME's value and the Document in My Drive. You see, the value written in the abovementioned textfield is the name of the Folder where the PDF Documents is located.
I know I should give the Script the path of the Document, I just don't know how to correct this Script
Maybe, there is a REST API for this. I don't know if such a thing exists, but Adobe does provide a number of services through REST APIs. If this capability does exist, then the NET.HTTP object in the Acrobat JS model could be used to save a document to the cloud and acquire a link to it.