1

I have two DATASOURCES in Google App Maker (both Google Drive Table's).

One is: Employee The other is: Department

I have created a relation between the two DATASOURCES (one to one) and can't figure out how to create a PAGE with a combination of fields from both DATASOURCES.

Any help is appreciated.

4

1 回答 1

0
  1. 您需要为您的关系添加预取(在数据源设置中)
  2. 如果您的主要数据源是 Employee,那么在小部件绑定中,您可以使用类似下面的代码访问部门:

    @datasource.item.Department.Name

于 2017-05-19T20:10:28.183 回答