Skip to content

Commit a43baa0

Browse files
committed
Added link to response sheet in creator emails.
Change-Id: Ie167c88e58bd51f54abeae4aff6c4175eaa7bd83
1 parent 0b218dd commit a43baa0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Code.gs

+2
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ function sendCreatorNotification() {
243243
if (MailApp.getRemainingDailyQuota() > addresses.length) {
244244
var template =
245245
HtmlService.createTemplateFromFile('CreatorNotification');
246+
template.sheet =
247+
DriveApp.getFileById(form.getDestinationId()).getUrl();
246248
template.summary = form.getSummaryUrl();
247249
template.responses = form.getResponses().length;
248250
template.title = form.getTitle();

CreatorNotification.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
titled <a href="<?= formUrl?>"><b><?= title ?></b></a> has received
33
<?= responses ?> responses so far.</p>
44

5+
<p><a href="<?= sheet ?>">Response sheet</a></p>
56
<p><a href="<?= summary ?>">Summary of form responses</a></p>
67

78
<p>You are receiving this email because an editor of this form configured

0 commit comments

Comments
 (0)