Need development and API help? Ask your questions here!
Recently active
Hi everyone, I have a column (Exact Employees) which contains the exact number of employees a company has and a column (Employees) with a Single Select field with brackets like: 1 to 10 11 to 25 etc. I’d like to have a script that would do something like: Check “Exact Employees” and if number is between 1 and 10, then select 1 to 10 in “Employees” and so on. Can someone help me get started? Thanks
Hello! Hoping you all can help. I have a base of Store Locations (name, address, website) and a related table of Deals (details, participating store locations). The Deals have a linked record field, Participating Store Locations, to attach one or more Store Locations records to each Deal. I need to display a list of Deals with the details for each Participating Store Location like this: DEAL 1 Participating Store 1 Participating Store 2 DEAL 2 Participating Store 3 Participating Store 4 Participating Store 5 I can get a list of the Participating Store Location record IDs for the store locations from the linked record field. I am having trouble getting the Store Location records returned from the find function. I think it has something to do with the timing of an asynchronous function. I’ve tried a few things to make a callback or promise work but my javascript is thin in that area and I can’t get it to work. Any help is greatly appreciated. Thanks! Here is the code: var storeLocati
I got a notification stating that “I can create a link to share blocks”, but I don’t know how to do it. Is there a new button where I should click? Does anyone know what I should do now?
Hi, Is there any way to load blocks in mobile phones ? Any known hacks? Thanks.
Hello Friends, I’m basically trying to make this Find and Replace script run in the automations feature, except instead of manually typing the inputs, just using the input variables entered into the block. I’m only python literate and thus far have only replaced the “findText” and “replaceText” variables: let table = base.getTable("crm_deals"); let field = table.getField("Deal owner"); let findText = input.config()["Input variable name goes here"]; let replaceText = "Input variable name goes here"; // Load all of the records in the table let result = await table.selectRecordsAsync(); // Find every record we need to update let replacements = []; for (let record of result.records) { let originalValue = record.getCellValue(field); // Skip records which don't have the value set, so the value is null if (!originalValue) { continue; } let newValue = originalValue.replace(findText, replaceText); if (originalValue !== newValue) { replacements.push({
Hey everyone. I’ve created a Button field (see bellow) that for some reason remains inactive. Surprisingly the exact formula works without any issues in a different table.
I want to use 3-rd party grid and chart libraries. FancyGrid fancygrid.com FancyGrid - JavaScript Grid Library for Enterprise | Angular React Vue grid... HighCharts highcharts.com Interactive JavaScript charts for your webpage | Highcharts It looks like I can do it and it works. But I am afraid about publishing and licences. Am I allowed to do publish in market place app with 3-rd party libraries?
Hello everyone, Although I am not new to Airtable, scripting/ coding is not something I am familiar with and I would like to ask if anyone can help with a script I set up below. Now that Airtable allows for sync bases, I finally have to opportunity to combine multiple bases in one and look up all records from one source instead of having to click at a million things. That said, since I have 8 active bases (the reason being that we are using Airtable to in order to Telemarket/ Telefundraise) I also have 8 synced tables - with multiple columns each - that are still kind of tedious to go through. I found this script from one of the Airtbale members that allows for a lookup function Now my question is: Is there a way for the if statement to update multiple records and if so how would that script look like? e.g if “Name” === the lookupValue then let returnValue = rangeRecord.getCellValue(“Attempt Counts”); let returnValue = rangeRecord.getCellValue(“Column 1”); etc. and update the main tab
Please ping me on whatsapp? WhatsApp.com Open WhatsApp WhatsApp Messenger: More than 2 billion people in over 180 countries use WhatsApp to stay in touch with friends and family, anytime and anywhere. WhatsApp is free and offers simple, secure, reliable messaging and calling, available on phones all over... Thanks. Yaniv
Hey, I have been reading carefully the airtable api documentation to work with my data. I tried copying and pasting the suggested snippets of code from the official docs into visual studio project. which is just an index.html boilerplate + an app.js reference in the same folder. I understand that in order to follow the documentation I must install airtable via npm into my project folder. All done. Now when I add the code to my project and save it, I get an error on the console: “app.js:1 Uncaught ReferenceError: require is not defined at app.js:1” Then I thought, this must be something to do with the airtable npm module not being referenced. I then look for a fix here in the community and could not find any, so a threat in stack overflow advice to include: import Airtable, { Base } from “airtable”; Now after saving and loading my html boiler plate and checking the console it reads: Uncaught SyntaxError: Cannot use import statement outside a module Can someone show me, how to list
We have been working on a custom block to write data from airtable into the Sanity CND with great success. We were able to use the record ID’s from airtable as the ID’s in Sanity. Now we are attempting the reverse with a GET request and this has been much more difficult. We have had to create logic for the id’s to be created in each application to be used by the other. This became even more complex today when we realized that a reference tag from a tag able was itself a record and still and instance of a record all over our second table. We are using a listener and Sanity uses documents and each has an id but the json response does not include the document id along side the transaction id. Any advice on how to go about patching multiple tables together? Or is this just over all a really bad idea? We have also requested from Sanity to see if they can add the document ID to the json response or if somehow we can find it using the transaction id. Thanks so much!
Is it allowed to do commercial SaaS app? I want to add the way to pay over paddle, entering License Key. By overviewing already existed apps, for me it is not clear issue with commercial SaaS apps.
I’m looking to see if anyone has tried creating a script that can pull the number of incidents associated with a problem ticket on Zendesk to a database column. We use Zendesk’s problem/incident to track the # of users affected by bugs. Would be great to be able to sync this data to our airtable so the user impact is continuously being updated.
I am wondering how best to create IF/THEN logic on a Facebook (or Twitter) attachment field within Automations. My use case is this – I have a Single-Select Field with a few pre-defined options (e.g. this is for concerts so “Show Announcement Graphic”, “Press Photo”, etc) and a “Custom” option for a manual attachment. I have an IF/THEN statement that takes your selection and pre-populates the image URL of the press photo, show announcement graphic, custom graphic, etc. This is the image URL that should then get posted to Facebook. The issue is that the Facebook Automation “Attachment” field can only reference an Attachment cell, so I can’t reference this URL in that field. Referencing it in Links serves up a link to the image in Facebook rather than the actual image. Is there any workaround here? I was thinking about writing a script that outputs the correct URL, then referencing that, but that does not work either. Another thought I had was an automation that uploads that URL as a
Hey, I have been reading carefully the airtable api documentation to work with my data. I tried copying and pasting the suggested snippets of code from the official docs into visual studio project. which is just an index.html boilerplate + an app.js reference in the same folder. I understand that in order to follow the documentation I must install airtable via npm into my project folder. All done. Now when I add the code to my project and save it, I get an error on the console: “app.js:1 Uncaught ReferenceError: require is not defined at app.js:1” Then I thought, this must be something to do with the airtable npm module not being referenced. I then look for a fix here in the community and could not find any, so a threat in stack overflow advice to include: import Airtable, { Base } from “airtable”; Now after saving and loading my html boiler plate and checking the console it reads: Uncaught SyntaxError: Cannot use import statement outside a module Can someone show me, how to list airta
Hi everyone! Lots of exciting announcements today on the Airtable Platform! For more information specifically about how this launch impacts developers - including updates to the Blocks SDK and how to submit an app to the marketplace - check out our post here. We’ll be hosting a live Ask Me Anything (AMA) session in this thread on Thursday 9/17 at 10am PT, where a number of folks from our platform engineering team will be online to answer any developer-focused questions you might have related to building Apps and submitting to the Marketplace. Feel free to begin posting questions here in advance! We’ll do our best to get to everything we can on Thursday. See you there!
Hello Airtable Friends! Custom blocks is extremely exciting! Has the Airtable team created a location to storing custom blocks created by the community? The scripting repository is awesome and I would love to see this for custom blocks. Thank you!
Hi all, Wondering if anybody knows of a workaround that allows one to set user permissions to only allow changes (edit / create / delete record) through code (scripting block in my case). This would come in very handy when you don’t want base users to mess with the content or structure of your base, but would still allow them to add/edit/delete records through the scripting block, therefore enforcing your desired business rules. @Airtable Team, any suggestions? should we expect this feature in the near future? Thank you,
I am a Director at a Boston based ed-tech organization, and looking for an Airtable expert to help us build out our Sales CRM and social media databases. I’d also like to help my team better utilize Airtable and be able to ask specific questions. Most urgently, we need to be able to integrate APIs for Twitter, Facebook, IG, and MailChimp. As mentioned, we also need to develop our Sales CRM (currently using Less Annoying, and wanting to entirely shift to Airtable). Please e-mail me at gabrielle@writetheworld.com if this sounds like a project you can help with. We’d like to get this going by 9/21/20 if possible. Thanks in advance.
I know Sync is brand new, but I think the Custom Apps API should add the following properties: Table model isSynced : boolean, similar to a field’s isComputed property sourceTableId : similar to a MultipleRecordLinks field’s linkedTableId property Additionally: sourceViewId for the source view Additionally: sourceBaseId for the source base Record model sourceRecordId: similar to a MultipleRecordLinks field’s linkedTableId property, but reporting the record not the table Hopefully these won’t be too difficult to implement because boy would they be life savers!
I have an automation in which i get the record from the record update that triggered the automation, i then have an ‘if’ condition in which if the condition i want is true i put an output text that is later sent to the next action which is sending the text output on a slack message. the problem is that if the condition is not true i want to just stop the automation there and then and not send the message on slack, because right now i put the script output as the slack’s message and when the condition is false i get an error saying the automation has failed because of the slack message action (in airtable notification and in email and thats what i want to prevent). so is there a way to stop an automation in the script section or to at least tell it to ignore that failures so i wont get notifications in airtable and email about it? thanks in advance to any helpers.
The Input component is missing onFocus & onBlur handlers, which are pretty useful for e.g. form validation. At the moment the only way around it it is to use refs which gets pretty messy. Current doing this: ... useEffect(() => { if (inputRef && inputRef.current) { inputRef.current.onblur = console.log; } }, [inputRef]); return ( <Input ref={inputRef} value={value} onChange={handleChange} /> ) When I’d love to do this: return ( <Input onBlur={console.log} value={value} onChange={handleChange} />
Hello team, airtable api are failing & throwing random errors, works on local but fails on production… API Code - const Airtable = require('airtable'); const base = new Airtable({ apiKey: 'API_KEY', requestTimeout: 1000 }).base('BASE_ID'); function updateAirtableSheetValues(data){ base('Table 1').create([ { "fields": { "Name": data } } ], function(err, records) { if (err) { console.error(err); return; } records.forEach(function (record) { console.log(record.getId()); }); }); } export default async (req, res) => { if (req.method === "POST") { const { body } = req; updateAirtableSheetValues(body.data); res.statusCode = 200; } res.json({ msg: "Thank you" }); }; Error -
Hi all! I know that I cannot currently link two bases, and I also cannot currently limit permissions within a base to show users specific data, so I’m trying to find a workaround to my problem and am stuck. I have a CRM built for our sales associates with various tables including Client Database, Interactions Log, Tasks, Transactions, etc. There is data I’d like my executive team to see that I don’t want visible in the sales CRM such as summaries of sales by individual person, # of new customers brought in by sales associates, $ amount in sales by person, etc. I want them to view their individual stats, but not have access to view everyone’s sales stats. But, I want to summarize that data to make it visible to the executive team. My thought was to keep my CRM base as-is, and create a second base titled “Executive Base” that would show/summarize the higher-level data. I attempted to make a zap that would create a new record in the Executive Base when a new record is added to the CRM bas
Hi, I have written the following script but it’s giving me an error when I run it. Can someone please point out what I’m doing wrong? let mainTable = base.getTable(“BOOKING DB”); let mainTableRecords = await mainTable.selectRecordsAsync(); let lookupTable = base.getTable(“LISTING DB”); let lookupRangeRecords = await lookupTable.selectRecordsAsync(); for (let record of mainTableRecords.records) ( let lookupValue = record.getCellValue("LISTING"); for (let rangeRecord of lookupRangeRecords.records) ( if (rangeRecord.getCellValue("LISTING") === lookupvalue) let returnValue=rangeRecord.getCellValue("ACCOUNT"); mainTable.updateRecordAsync(record,( "ACCOUNT"; returnvalue )) ) ) )
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.