Help

How to insert Data In Cell With code

Topic Labels: Sync
1689 6
cancel
Showing results for 
Search instead for 
Did you mean: 
sobanTaimoor
4 - Data Explorer
4 - Data Explorer

Hello,
I am new to Airtable. can someone inform how to insert data in cell or field in table with the help of code.

Waiting for your response.

6 Replies 6

Hm, well Airtable has an API, and also has Scripting (JavaScript) available as both Apps and as part of an Automation

Is that what you’re thinking of?

sobanTaimoor
4 - Data Explorer
4 - Data Explorer

image

I want to write some code here to insert data in the table

sobanTaimoor
4 - Data Explorer
4 - Data Explorer

i want to add new rates in my rate column of table. in yellow highlighted area

Hm, I’m going to assume that you want to update the same record where you’re getting the names and days value, and that the column header of the rate column is “Rate”

If so, try replacing everything inside the if(designation === "HCA"){} block with this:

await table.updateRecordAsync(record.id,{
  "Rate": rateHCA
})

Let me know if this isn’t what you’re looking for and I’ll see what I can do

sobanTaimoor
4 - Data Explorer
4 - Data Explorer

er1

sobanTaimoor
4 - Data Explorer
4 - Data Explorer

MicrosoftTeams-image (2)