I am trying to create a form in Google app maker and want to populate certain values from the data source but I have a very little idea on how to proceed with it.
I am trying this solution
function fetchdata() {
var query = app.models.aq.newQuery();
query.filters.email._equals=Session.getActiveUser().getEmail();
var allRecords = app.models.aq.newQuery().run();
console.info(allRecords);
}
it is giving me these errors
{
"serviceContext": {
"service": "AKfycbx9DoVPosC5I4ku0Pa75POroOGmZ7xML5juPHfnWhghrc5TrqhFY2Cm"
},
"message": "Exceeded maximum stack depth\n"
}
Executing query for datasource GET_DATA: (Error) : Exceeded maximum stack
depth at Main.Container.onAttach:1:26
Executing query for datasource GET_DATA failed.