Feb 07, 2024 03:00 AM
Hi. Sorry if this is a silly question.
I need to rename a table that has some airtable automations linked to it. Can anyone tell me whether the automations will dynamically change their settings to use the renamed table as before - or do I have to manually re-configure them to use the new table name?
Many thanks.
Solved! Go to Solution.
Feb 07, 2024 03:47 AM - edited Feb 07, 2024 03:52 AM
Hello @hauwi ,
No, you don't need to change the table name into Automation, Just rename it.
But keep this in mind.
In the Automation There is a Script Block( Script Action | Airtable Support) is there.
The script generally supports regular JS code excludes some Core JS features and includes some other Airtable-related functions. Read more here. Airtable Scripting
If you've used use table name something like this.
let table = base.getTable("Tasks");
console.log(`Table id: ${table.id}`);
"Tasks" is a table name in the above code. In this case, if you change the table name then you need to change that name as well.
If anyone uses Table name in the Script I strongly recommend it to use like.
let table = base.getTable("tbl90f2N7GzePWdAs"); //Tasks
console.log(`Table id: ${table.id}`);
See more about how to find base/table IDs Finding Airtable IDs | Airtable Support
If you get something then Give 👍
Feb 07, 2024 03:47 AM - edited Feb 07, 2024 03:52 AM
Hello @hauwi ,
No, you don't need to change the table name into Automation, Just rename it.
But keep this in mind.
In the Automation There is a Script Block( Script Action | Airtable Support) is there.
The script generally supports regular JS code excludes some Core JS features and includes some other Airtable-related functions. Read more here. Airtable Scripting
If you've used use table name something like this.
let table = base.getTable("Tasks");
console.log(`Table id: ${table.id}`);
"Tasks" is a table name in the above code. In this case, if you change the table name then you need to change that name as well.
If anyone uses Table name in the Script I strongly recommend it to use like.
let table = base.getTable("tbl90f2N7GzePWdAs"); //Tasks
console.log(`Table id: ${table.id}`);
See more about how to find base/table IDs Finding Airtable IDs | Airtable Support
If you get something then Give 👍
Feb 13, 2024 08:56 AM
Thank you @dilipborad . That's really helpful info.