// load the data for the blog posts

airtable script to get images

let table = base.getTable('Item'); let query = await table.selectRecordsAsync({fields: table.fields}); let x = 0 for (let record of query.records) { // if the record has a url but no image, attach it if(record.getCellValue('image') === null && record.getCellValue('image_url') !== null) { console.log(++x, record.getCellValue("image_url")) await table.updateRecordAsync(record, { 'image': [{ url: record.getCellValue('image_url')}] }) //break } }