Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here
Jan 18, 2023 09:29 AM
I am at a loss. This seems like it should be the easiest thing in the world. I am trying to write the TableID using a script to a field called "TableID". I have the variable value:
var id = base.getTable("Target Activity").id;
This returns the correct value. However, I can't figure out how to set the value to the field. Am I missing something?
Jan 18, 2023 10:58 AM
Can you post a screen shot of your table and field? Are you trying to update the field value for an existing record or create a new record with the field value.
To update the field value for an existing record, you use table.updateRecordAsync(). To create a new record, use table.createRecordAsync(). See the scripting documentation for more info.