Hey all,
Question for those with API experience. As linked records return the RecordID, do you typically create a Rollup Column to display and retreive the Linked Record name data, or, do you code the solution in your source to retreive the name of each record?
Simple two table base layout - an active score board;

And registered users;

My example code below, heavily influenced by the current Airtable API code samples - when retrieving the ScoreBoard, how best to show the Linked User names?

Although I’m yet to refine my find() code block, already I can see that returned names aren’t in any particular order, as opposed to the Player Name Rollup at least being the correct order.
So in summary, do you tend to code solutions in the base, or solutions in the API source when working with Linked Records? I can see advantages of knowing and understanding both.
Sample code below;
const Airtable = require('airtable');
const base = new Airtable({apiKey: apiKey}).base(myBase);
base('Score').select({
// Selecting the first 3 records in Grid view:
maxRecords: 5,
view: "Weekly"
}).eachPage(function page(records) {
// This function (`page`) will get called for each page of records.
records.forEach(function(record) {
console.log('Entry:', record.get('Entry'));
console.log('Player:', record.get('Player'));
console.log('Player:', record.get('Player Name Rollup'));
console.log('Score:', record.get('Score'));
console.log('Entry:', record.getId('Entry'));
console.log('Player:', record.getId('Player'));
console.log('Score:', record.getId('Score'))
base('Registered').find(record.get('Player'), function(err, record) {
if (err) { console.error(err); return; }
console.log(record.get('Name'));
//myNames.push(record.get('Name'))
});
});
}, function done(err) {
if (err) { console.error(err); return; }
});


