Solutionunvalidated
The below code exports a specific sheet as a PDF without using UrlFetch. — The first uses only one .gs file, and the second uses two files, one .gs and one .html. Tension: The major caveat is that the export URL, as far as I know, doesn't have a parameter to set the file name. Outcome: might work as a workaround.
54e0a322-96a8-4ffc-b4d2-5c915fc2ca12
The below code exports a specific sheet as a PDF without using UrlFetch. — The first uses only one .gs file, and the second uses two files, one .gs and one .html. Tension: The major caveat is that the export URL, as far as I know, doesn't have a parameter to set the file name. Outcome: might work as a workaround.