google-app-maker

After publishing an app, how do you find the public URL to give to your end users?

眉间皱痕 提交于 2019-12-12 04:45:12
问题 I have published my app in Google App Maker, however when I share the normal "share" link it gives end users the ability to edit the app instead of using the app. Where do I find the public version of the app I just published? 回答1: Go to Settings Select Deployments tab Click or copy deployment link Note: The URL is not really public. You can share the app only within your domain at your best. 来源: https://stackoverflow.com/questions/44136328/after-publishing-an-app-how-do-you-find-the-public

Google App Maker: How to add pagination and sorting to a table widget bound to a calculated datasource?

蓝咒 提交于 2019-12-11 17:43:50
问题 I have "Calculated" model called "Groups" in which I have added the following server script to load the google groups that are part of my domain and display them in a table widget when the user lands on the page. The data displays fine on the first page, but when I click to see the next page, I see the same subset of records and clicking the headers to sort the table does not work either. I'd appreciate some guidance here. Calculated Model Server script: var groupList = []; var pageToken; var

How to query single data from BigQuery to AppMaker

*爱你&永不变心* 提交于 2019-12-11 17:27:59
问题 I manage to query data from BigQuery with some help here. But it doesn't seem like I am getting the data that I want (as in BigQuery) which is the HOD_Email data. The request contain following when I console.log() it: Thu Dec 20 13:53:06 GMT+800 2018 {query=SELECT HOD_Email FROM [xxxx-xx-xxx.table_name.table_scheme] WHERE EmployeeEmail = "XXXX@gmail.com"} Any tips on this? 来源: https://stackoverflow.com/questions/53863132/how-to-query-single-data-from-bigquery-to-appmaker

Google App maker API

自古美人都是妖i 提交于 2019-12-11 17:27:36
问题 I have a requirement to pull and post data to another application. App maker provides URL fetch option to get data from public API's. I want to access data from a application in my intranet server does app maker provides any option to connect to the outside server. URL Fetch option is used to consume data, if I need to pass some data is there any option available to do this in app script 回答1: I have a requirement to pull and post data to another application If you don't have strong

How to create an advanced search/filter using Google App Maker's Query Script?

流过昼夜 提交于 2019-12-11 17:16:29
问题 I'm making an app with an advanced search feature which can help users filter data from dropdowns and textboxes (Dropdown to choose column and clause, Textbox for entering search parameter) like this one: Advanced Search page sample I tried to bind the Column's name dropdown to @datasource.query.parameters.Parameter and changed the Query part of the datasource like this: Datasource's Query Script and Parameters However, I keep getting errors like Parameter 'Column' is used in 'where' clause

I'm trying to update value of a field from client script

旧城冷巷雨未停 提交于 2019-12-11 15:54:22
问题 I'm trying to send a email using form and also save the history of all the email. and I have a field in database named success to track if the email has send or not. How to update values of a field from client script based on user activities or email sent status. var success = app.models.ChangeSystem.fields.Success.possibleValues; google.script.run .withFailureHandler(function(error){ status.text = error.message; success = False; }) .withSuccessHandler(function(result){ status.text = 'Email

How to check in both server-side and client-side scripts if we are in preview mode or deployed version

随声附和 提交于 2019-12-11 14:39:19
问题 In AppMaker: Is there a way to make a difference between the app running in preview mode and the app running as a deployed version ? Because my app is sending mails and is setting Apps scripts triggers but the config for those should be different in preview mode and deployed versions. Thanks 回答1: The preview is just another deployment. It has its own drive table. One option is to store your config in drive table. 来源: https://stackoverflow.com/questions/43778494/how-to-check-in-both-server

google.script.run XX is not a function error

杀马特。学长 韩版系。学妹 提交于 2019-12-11 10:37:00
问题 Hi I am developing a little app to move files around google drive using google Appmaker. I have the code working to select the file and the destination directory all fine. The problem is to call the server function to run DriveApp functions as follows: function onClickbtnMove(widget, event){ var props = widget.root.properties; fileids=props.FileIdList; //fileids is a list object of fileIDs, in the following text i removed the loop and just try with one fileID var i=0; google.script.run

Table Not Updating With Manual Save Mode

帅比萌擦擦* 提交于 2019-12-11 09:59:39
问题 So I have a table that shows the entries. Users click on a button to open a fragment page to edit the data. app.datasources.SystemOrders.selectKey(widget.datasource.item._key); app.showDialog(app.pageFragments.SystemOrders_Edit); This part works fine. I have changed my datasource to Manual Save Mode to be able to utilize the "email notification for changes" functions that are used in the Project Tracker sample. So that a user can make changes, hit a Save (Close) Button and an email goes out

Error in sending Email in Google AppMaker

≯℡__Kan透↙ 提交于 2019-12-11 07:35:40
问题 I want to send an email notification whenever the user clicks on a button. The button will call sendEmail(widget) function and invoke a client script as follow: function sendEmail(widget){ var item = widget.datasource.item; google.script.run .withFailureHandler(function(error) { console.text = error.message; }) .withSuccessHandler(function(result) { console.text = 'succeed'; }) .sendEmails(item); } then it will pass the datasource on item and call sendEmails(item) function from a server