google-app-maker

Time Picker and Autocomplete for App Maker

巧了我就是萌 提交于 2019-12-08 11:21:26
问题 Looking for a solution to pick times without using 2 drop down menus and an Autocomplete search box. The autocomplete box example: W3 Schools Autocomplete The Time Picker Example: Clock Picker for jQuery I am looking for a way i can use both of these and also get the values back out. I am having some issues with not being able to select the element past the HTML widget and non of the JS seems to work. I dont have anything i can show here other than the copy paste code and a few errors. Error

App Maker Document approval template : Add Default Approvers and notify Owner the status automatically

我的未来我决定 提交于 2019-12-08 07:56:46
问题 I am studying the document approval template, and added default Approvers successfully by using the code below. App Maker Document approval template : How can I Add Default Approvers My question is that after adding these code in app maker, function notifyApproversAboutRequest_(request) still work, but the function notifyOwnerAboutRequestRejected(request) and function notifyOwnerAboutRequestApproved_(request) do not work anymore. Can anyone tell me how to resolve the problem? Thank you! if

Google Appmaker selectedRow

别来无恙 提交于 2019-12-08 07:14:30
On a Google appmaker table , I have a label that I only want visible when the row is active/selected by the user. I can see that the datasource.itemtIndex would give me the current index that my label is at (I presume it's not the selected index), but I can not seem to find a property that shows me the currently selected index/row. Doug Patterson Bind the visibility of the label like this ==> @widget.datasource.item._key === @datasources.<DatasourceName>.item._key Just make sure to change <DatasourceName> with whatever datasource you're using. Try adding this style visibleOnAncestorHover to

Address Search for the Google Map widget on App Maker

本小妞迷上赌 提交于 2019-12-08 06:15:11
问题 I see the Google Map widget documentation for App Maker says I can bind a datasource to it so that user can input an address to update the map. Is it possible to bind it to something like a Places search box in App Maker? It'd be great if I don't need to create my own datasource to enable an address search. 回答1: You can build Address Search using Suggest Box, Calculated Datasource and Geocoder Apps Script service /** * Creates address suggestion record. * @param {Object} geocode Geocode

How to populate many to many relationship

久未见 提交于 2019-12-08 05:23:11
问题 I have a MANY-to-MANY relation between two models. But I cannot figure out how to create a form or table to add records to a many to many relation. I am using Google Drive Tables. I tried to see if the relation is well set, I exported the data and manually populated the keys in the sheet created for the many to many relation. I checked using dropdowns to filter data and it works well. This is probably basic but I just can't find out how to do it. Please help. Mauricio 回答1: With many-to-many

Google Appmaker selectedRow

大城市里の小女人 提交于 2019-12-08 05:18:59
问题 On a Google appmaker table , I have a label that I only want visible when the row is active/selected by the user. I can see that the datasource.itemtIndex would give me the current index that my label is at (I presume it's not the selected index), but I can not seem to find a property that shows me the currently selected index/row. 回答1: Bind the visibility of the label like this ==> @widget.datasource.item._key === @datasources.<DatasourceName>.item._key Just make sure to change

Trying to total columns for relation datasource

我的梦境 提交于 2019-12-07 16:53:51
问题 I am putting together a PO Request manager. I have created one model: PORequests Then created a ONE to MANY relationship with another model: Items Table on the left is the datasource: PORequests. The table on the right is PORequests:Items (relation) So when you click on PORequest #1 on the left, you see only the items associated with that specific PO request. Then when a user changes the quantity or cost of the item, the onValueEdit runs this code, creating an entry for the subtotal (a field

Accordion in appmaker

被刻印的时光 ゝ 提交于 2019-12-07 12:16:34
问题 I have made an accordion in Google App Maker and it's working fine. But by defect, the first accordion row shows the detail part... I don't want to show the details unless we specify it (clicking on a "expand" button) Is that possible? I have tried to do it via css and it doesn't work... I also have tried this: (widget = expand button) if (widget.parent.parent.children.Accordion1Detail.visible === false){ widget.parent.parent.children.Accordion1Detail.visible = true; } else { widget.parent

Google App Maker saving records to DB is taking 240ms per record

放肆的年华 提交于 2019-12-06 12:54:28
We are having a Google App Maker app using Google Cloud SQL tables. Our location is Prague, Central Europe and saving one record takes incredible 240ms at minimum. It looks like Google App Maker has a proxy just close to my location (latency ~20ms). However our instance set up in US-Central1 (which is recommened by Google to provide Google App Maker apps with the best performance) shows ~120ms ping. We have tried many things including changing the instance location to Frankfurt, Germany (~25 ms). In this case, it took even longer (500ms per record). Our queries seemed to be round-tripping this

Suggest Box not working for SQL

自闭症网瘾萝莉.ら 提交于 2019-12-06 08:38:14
问题 I'm seeing an error when typing into a suggest box: Thu Dec 08 10:45:58 GMT-700 2016 Speckle models do not support distinct sorted field values. Error: Speckle models do not support distinct sorted field values. E Thu Dec 08 10:45:58 GMT-700 2016 Query for field suggest oracle.: (Error) : Speckle models do not support distinct sorted field values. E Thu Dec 08 10:45:58 GMT-700 2016 Query for field suggest oracle. failed. Value of the suggest is set to: @datasource.query.filters.project.