none
Cannot access other tables from table.read RRS feed

  • Question

  • I am trying to get some data from another table when doing the table.read on the backend. However, for some reason, context.tables(tableName).read() doesn't seem to be working. Here is the code I wrote so far:

    table.read(function (context) {
        var schoolName = "";
         
        context.tables('Users')
            .read()
            .then(function (users) {
               schoolName = users[0].school;
            })
            .catch(console.log("Error occurred"));
        
        context.query.where({ school: schoolName });
        return context.execute();
    });


    • Edited by Adhar2032 Sunday, June 16, 2019 5:18 PM
    Sunday, June 16, 2019 6:50 AM

All replies

  • Hi,

    Thanks for raising the issue. We will investigate and update you.

    Monday, June 17, 2019 10:39 AM
    Moderator
  • Could you please send an email to AzCommunity[at]Microsoft[dot]com referencing this thread, we would like to work closer with you on this matter

    Wednesday, June 26, 2019 12:17 PM
    Moderator