google-app-maker

Document Merge with Google App Maker

孤者浪人 提交于 2019-11-28 02:19:10
问题 I would like to integrate a document merge into a workflow which I created in Google App Maker. Whenever an input is submitted in a form, the answers should be merged into a Google Docs template, if the template contains a placeholder that matches the name of the field. For example, if the field name is last_name, the placeholder would be {{last_name}}. The document merge should go through each field of every item, so that I don't have to program the field names into the script. In a Google

Google Team Drive Move file between team drive folders using Apps Script

Deadly 提交于 2019-11-28 01:59:11
I am creating a workflow in Appmaker for Team Drive where I have 3 folders under team drive: TO BE APPROVED APPROVED REJECTED I am sending a document from TO BE APPROVED folder for approval, if user approves it then this document should move to APPROVED folder. Same logic for REJECTED. Now my question is how can I move a document between Team Drive folders. DriveApp.getFolderById(folderId).addFile() is not working as I can not have more than one parent in Team Drive. DriveApp.getFolderById(folderId).createFile() is working but it is creating a whole new file with new ID which is not fulfilling

Connection from App Maker to Cloud SQL is locked

浪子不回头ぞ 提交于 2019-11-28 01:40:27
问题 Cloud SQL is locked, it tells me to contact Admin to unlock. I've created Cloud SQL instance with service account "appmaker-maestro@appspot.gserviceaccount.com" on IAM & ADMIN. But App Maker doesn't see it. Added some tables by dbForge - it didn't helped. I already created connection before in another app, some month ago and it worked. But now it doesn't see SQL. 回答1: In order to configure Default Cloud SQL instance for App Maker you need to navigate to admin.google.com -> Apps -> Additional

App Maker Document approval template : How can I Add Default Approvers

て烟熏妆下的殇ゞ 提交于 2019-11-27 08:24:35
问题 I use document approval template, and I want to define default approver and stages. I have tried to change the custom value associates to the userpicker widget in EditRequest Page to define a default Approver by changing the location from 'onValueChange' to 'onAttach'. I set default value for mail's approvers. PageEditRequest/userPickerWidget Function associates to the custom value of userPickerWidget But I don't know how can I associate a new stage to an another approver... I tried a lot of

Generating an email list from AppMaker Database

自作多情 提交于 2019-11-27 08:13:46
问题 I am trying to figure out how I can get database information involving the email column, make an array with all of the emails and then use the "button" feature to populate the "To:" part of an email page. Any help is appreciated. Very new at this and pointing me on where to get the info would be great. Thanks 回答1: I recommend you to run a server script that would query the datasource that has the emails. The script will look something like this: function getEmails(){ var query = app.models.

Is it possible to watch Directory API changes from Google App Maker/Google Apps Script?

血红的双手。 提交于 2019-11-27 07:23:24
问题 I'm working on an performance evaluation app in Google App Maker. One of the challenges we have with our current tool is that it doesn't sync with our G Suite directory when a person's manager changes or when a person has a name change -- their existing evaluations are linked to the person's old name and we have to change manually. In my new app, I have an Employees datasource that includes a relation to the evaluation itself that was initially populated via the Directory API. Reading the

Google App Maker how to create Data Source from Google Contacts

孤人 提交于 2019-11-27 02:00:53
问题 Using GoogleAppMaker how to create a data source from google contacts. There is an employee HR example app but I want to similarly manage contacts (add, modify, delete) and use select criteria. 回答1: At this time this task is not trivial in App Maker and it is pretty much generic. We can change question wording to CRUD operations with 3rd party datasources . Let's break it into smaller parts and address them separately. Read/list contacts This task is relatively easy. You need to use