google-app-maker

In App Maker, how do you make dynamic table cell text?

我只是一个虾纸丫 提交于 2020-01-25 08:22:27
问题 In App Maker, I am displaying a table and want to replace table cell data with different text using a data lookup from another table. Assume two tables, Departments and Employees. Departments is two fields, DeptID and DeptDescription. Employees is multiple fields including DeptID. In the table listing for Employees, I would like to replace the DeptID with the DeptDescription. (The page datasource is Employees. I do not want to set up a relationship between the data models.) I am guessing I

How to 'Add / Sum / Total / Calculate' dynamic tables in google app maker

泪湿孤枕 提交于 2020-01-25 06:53:26
问题 It's probably the simplest thing in the world but I can't seem to add/sum/calculate tables in App Maker. I have attached an image of the App preview. I will try to keep this simple. The page has 3 data sources as follows: Apex_customer_po - This is where our employee's input customer purchase orders including the PO number (string), the overall value of the PO (number), and the details (string) Apex_customer_po_wo_details - Purchase orders are often broken up by our customer in to multiple

Default Value for Dropdown

旧时模样 提交于 2020-01-24 22:16:40
问题 Can't seem to find an answer to this issue easily. Default values for fields you want to display and allow editing, the best place seems to be to set the widget.value in a draft record, so default date widget.value = new Date() , etc. How do I reference a dropdown where the dropdown is a related table lookup, e.g., a list of Properties where the bindings are @datasources.Property.Items for the options and @datasource.Item.Property for the value. If I do console.log(widget.value); I get object

Default Value for Dropdown

青春壹個敷衍的年華 提交于 2020-01-24 22:16:22
问题 Can't seem to find an answer to this issue easily. Default values for fields you want to display and allow editing, the best place seems to be to set the widget.value in a draft record, so default date widget.value = new Date() , etc. How do I reference a dropdown where the dropdown is a related table lookup, e.g., a list of Properties where the bindings are @datasources.Property.Items for the options and @datasource.Item.Property for the value. If I do console.log(widget.value); I get object

Checkbox binding in Google AppMaker

﹥>﹥吖頭↗ 提交于 2020-01-16 09:04:22
问题 How to do binding for the checkbox? together with the user input if they choose other here? can anyone help? 回答1: The simplest implementation will be with Multiselect Widget. However, it will look slightly different: Model Designer Note, strToArray transformer is used in the values binding Runtime For sure, you can go fancy customizing look and feel of the Multiselect with CSS or playing with input's visibility basing on selected values and so on... 来源: https://stackoverflow.com/questions

Checkbox binding in Google AppMaker

落爺英雄遲暮 提交于 2020-01-16 09:04:12
问题 How to do binding for the checkbox? together with the user input if they choose other here? can anyone help? 回答1: The simplest implementation will be with Multiselect Widget. However, it will look slightly different: Model Designer Note, strToArray transformer is used in the values binding Runtime For sure, you can go fancy customizing look and feel of the Multiselect with CSS or playing with input's visibility basing on selected values and so on... 来源: https://stackoverflow.com/questions

Deploying AppMaker app on multiple domains

女生的网名这么多〃 提交于 2020-01-14 06:40:30
问题 This is more of a general question about the future of AppMaker I guess... I have a few ideas that I would like to try out - mostly some tools that could help my clients - and I was wondering if there will be a way to deploy an app made with AppMaker to multiple domaine. A (dumb) example would be to create a Task management app that you can centrally develop and deploy as a Saas service to multiple clients. I would be interested to hear some insights before investing too much time in this.

App maker: Show Big Query data in grid

限于喜欢 提交于 2020-01-06 06:46:10
问题 I having an script in googles app maker: function runQuery() { var projectId = 'blalab155512'; var request = { query: 'SELECT title FROM [bigquery-public-data:samples.wikipedia] where title contains "olimpic" LIMIT 100' }; var queryResults = BigQuery.Jobs.query(request, projectId); var jobId = queryResults.jobReference.jobId; var names = queryResults.schema.fields.map(function(field){ return field.name; }); //var records = []; return queryResults.rows.map(function(row) { var record = app

Querying data from BigQuery and return a single data into Google AppMaker

末鹿安然 提交于 2020-01-06 06:19:44
问题 From my previous question here, I think it is the problem to my server-script function that queries the data from BigQuery. Following are my code to queries HOD email base on requester email address. //To fetch requester's HOD email address function BigQueryGetEmail(emailRequester){ // Replace this value with the project ID listed in the Google // Cloud Platform project. var projectId = 'xxxxxx-xxx-stg'; query = '#standardSQL \n SELECT SUPV_EMAIL_A FROM `xxxxx-xxx-stg.xxxxx.vw_HOD_email`

How can I sort a list by month in App Maker?

坚强是说给别人听的谎言 提交于 2020-01-06 06:04:35
问题 I want to sort a list in App Maker by month, and I don't know how to it. I think that was the way, but is not. @datasource.item.MONTH#sort() 回答1: I am not sure how many ways there are to achieve this but here are two ways: First one: Go the the model datasource and change the sorting option to reflect the month and then choose by ascending or descending. See the example below. Second one: Select the table widget and the go to the events section in the Property Editor . Click on the onDataLoad