Hello, i’m trying to fill a table item on a page with data from a collection (filtered by owner) which have a reference field to another collection.
This code works to fill the table but it shows the reference number and not the value of the reference field :
wixData.query(“OutillagePossession”)
.eq(“_owner”, wixUsers.currentUser.id)
.find()
.then( (results) => {
console.log(results);
$w(“#table1”).rows = results.items;
} );
How can I have the value in the table?