google-app-maker

Integration between different Google Appmaker Apps

时光总嘲笑我的痴心妄想 提交于 2019-12-18 05:25:08
问题 I'd like to be able to switch between 2 different apps (app1 and app2) using and transition animation. Ideally with the following capabilities 1) App2 is able to recognize that was invoked by App1 2) App1 able to received a callback parameter from App2 回答1: Unfortunately, no magic for this case. To implement this scenario you need to: 1 Create separate model (AppSettings for example) in both apps and store there App1Url and App2Url correspondingly for each app. 2 To navigate user from App1 to

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

荒凉一梦 提交于 2019-12-17 16:52:09
问题 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

export data with relations in excel

天大地大妈咪最大 提交于 2019-12-14 03:07:02
问题 I want to export data from different data sources to Excel. This also works without problems. But I also want to output the relations here. This doesn't work or I don't quite understand how this should work. Example: I have a data source called Company and a data source called Software. These two tables are related (n-m) to each other. Now I want to export these relations again. I have seen that App Maker has such a function, but unfortunately I don't quite understand how this should work.

Display FullName from directory

假装没事ソ 提交于 2019-12-13 10:38:53
问题 I have a form with a User Picker field, simple. On my table I want to display the associated name of the user from my directory, not their e-mail address like the default is. Suggestions? Thanks! 回答1: As per the official documentation, the onValueChange event will pass an object in the newValue . This object is the user record in the directory. From there you can get the full name by using this: var fullName = newValue.FullName; For that to work, in the property editor you have to enable the

Export filtered data from table widget Google AppMaker to a Spreadsheet

浪子不回头ぞ 提交于 2019-12-13 07:55:47
问题 Does anyone know how we can export filtered data from Google App Maker table widget . My table from the data source (no filter): After applying some filter . I manage to export everything to Google Spreadsheet (see this SO answer), but I am stuck on exporting only the data after applying some filter. Really appreciate if anyone can share the solution. Thanks! 回答1: The AMU Library can do this in one command in a button onClick. The button just needs to be on the same datasource as the table.

Datasource Paging Issue (Revised)

一个人想着一个人 提交于 2019-12-13 05:24:10
问题 A simple testing setup: department: employee, 1:M and a search form that allows filtering on Emploee FirstName =, lastname =, email contains, age >=, join date <= and related department =. A search form with widgets bound to parameters of a cloud SQL datasource query script. A Submit button on the search form which opens up a query results page with a table bound to the cloud SQL query script datasource. query script var params = query.parameters; return getEmployeeRecords_( params.param

Draggable, on Google AppMaker

别来无恙 提交于 2019-12-13 02:48:25
问题 I want a little guidance, because I haven't found the explanation I need yet. I'm developing a website on Google App Maker, and I want to use on Google Map Widget a Draggable Marker. All the info I have found, is like for an external website including HTML and JavaScript libraries. The error is shown when I type: var marker = new google.maps.Marker({ position: latlon, map: map, draggable: true, title:"Drag me!" }); "Uncaught TypeError: google.maps.Marker is not a constructor at var marker =

Creating an app open to the internet (no login needed)

元气小坏坏 提交于 2019-12-12 10:26:49
问题 I'm trying to create a simple app on Google appmaker that collects a Yes or No answer from the viewer to a fixed question (ex. "Was this useful? Yes / No"). I would like to make this app available on the internet so I can embed it in open public facing pages. I have managed to make it embeddable but not accessible without a login. Is it possible to open access to users who are not logged into a Google account? Thanks in advance, Michael 回答1: It is not possible at this time. Only users within

Exporting data out of Google AppMaker

人盡茶涼 提交于 2019-12-12 06:00:04
问题 Currently, I store my data on google-drive tables. When I export the data to spreadsheets, the relationship between models are lost. For example, I have a farm object and contacts tied to that farm object. When I export the data of farms and contacts from my deployment, google gives me a spreadsheet with two sheets (farms, contacts). Each of them contains the data but the relationship of farms and contacts tie to each other is not shown or listed. Is it not possible to show the relationship?

window.scrollTo() not working

99封情书 提交于 2019-12-12 04:54:29
问题 window.scrollTo(0,0); Desired result: page scrolls up to top Tried it attached to button click and nothing happens. I have pages of information and when the user clicks on the next/previous page button at the bottom, I want the window to scroll back up to the top. What's going wrong here? Is there some other App Maker method we're supposed to use within App Maker? 回答1: Check out: Google Apps Script UI: Scroll to top of screen I haven't tried this, but from this post something like: var