Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Jul 17, 2023 06:06 AM
Hi support team!
I am building custom extension using airtable blocks sdk.
Workflow here.
1. When I click "Get companies" button in extension section, the extension will call 3rd party API.
2. The API returns the result as a JSON format. Json contains record Ids of a table named "All companies".
3. After this, I want to refresh airtable view of a table that is selected record ids returned from API.
Is it possible?
Please help me, thanks.
Jul 19, 2023 02:17 AM
Oh, seems like there is no expert in airtable community.
Omg
Aug 01, 2023 04:18 AM
Airtable Blocks SDK (now known as Airtable Apps SDK) does not provide a direct method to refresh the Airtable view from the custom block. However, you can potentially use the data returned from the API to manipulate the records in your table using the updateRecordsAsync function.
Here's a general flow of how you could do it: