Need development and API help? Ask your questions here!
Recently active
I have a sheet that stores user information. This is for a club, so the fields are: NAME, ID, and PHONE NUMBER. I am hoping to use a GET request to find a user with a specific ID and return their phone number. By looking at previous forum posts, I can tell that I’d likely want to use filterByFormula, but was confused about how to format the actual GET request and the URL required. Apologies if I’ve missed anything important, I’m new to the API!
When Zapier is updating a record, it’s adding comma separated records into a linked field. Lately, it is creating duplicate records even though the record exists. Is there something I can do about this? I vaguely remember running into this issue before but can’t find the solution.
Does anyone know id it’s possible to bulk download attachments to Microsoft sharepoint either with Integromat or the script block?
Hi, I am trying to build a SPA and having an issue with pagination. From client side, it is calling back-end function to fetch image url of records and pageSize is 16. What I am hoping to achieve is to fetch every 16 records whenever user clicks ‘show more photos’ and it will fetch another batch of 16 and so on… but my question is how can I call fetchNextPage() after it fetches the first batch of records and function’s finished. I have little knowledge of callback function and how it works but if you could help me with this, I’d appreciate it. Here is part of my cloud function exports = module.exports = functions.https.onRequest(async (req, res) => { const nextPage= (records, fetchNextPage)=>{ fetchNextPage() } const processRecords = (err) => { console.log('done :>> '); if (err) { console.error(err) return } } _base(tableName).select({ filterByFormula, fields, pageSize: 16 }).eachPage(processRecords, nextPage) });
Hey Y’all, So I’m working on a use case where I need to determine metrics for a funnel. I want to know two things: the percent of value that remains in the funnel from the previous step, and the percent remaining from the beginning of the funnel. So that looks like: Metric A - 10,000 | 100% | 100% Metric B - 5,000 | 50% | 50% Metric C - 1,000 | 20% | 10% Metric D - 500 | 50% | 5% This of course would require me to use the previous value in a function, something that Airtable isn’t built for on its own, but it is something that people have found great workarounds for, like @W_Vann_Hall who has covered a great workaround thoroughly in this post. I happen to be dividing, but this is also great if you’re looking to do a running balance as well. To make this easier and cleaner, and just to see if I could do it (tbh), I tried my hand at a script that will do this in a snap. The Pros: No complicated rollups The Cons: Since it uses the scripting block, it doesn’t update automatically. Her
Are you looking for feedback on usability or design best practices for your Custom Block? As part of the ongoing Custom Blocks contest, we’re hosting a live Ask Me Anything (AMA) session in this thread on Wednesday (6/17) at 11am PT . Jay Ransijn and Stephen Suen from our platform engineering team have designed and built countless blocks. They will be available to answer any design-related questions you have. The top 3 upvoted questions (or solutions from the community!!) will win a $40 Amazon gift card. You can even start posting your questions now, and we’ll be answering questions live from 11am - 11:30am PT on Wednesday. See you there!
I’m building a block which (should) allow users to select multiple records in Table A. I would like to get a set of each selected record’s linked Table B records. The problem I’m running in to I believe relates to using a hook within a loop. Right now I’m using selectedRecords.map(record => {...} ).flat() to loop through each selected record. Within the loop, I’m using useRecords(record.selectLinkedRecordsFromCell(fieldName)) to get the linked records into a single array. This works but only if the user selects the same number of records each time, or cancels the current selection and starts over. Meaning if someone selects one record it works, if someone selects all records it works, but if someone changes the number of selected records by clicking and dragging or by using the selection boxes at the far left, React throws an error: Error: Rendered more/fewer hooks than during the previous render. I think I could possible get around this if I could combine/collapse multiple record q
Hi I have a table called mentors I have a table called jobs I linked the two with a link field what I m trying to do is to display the job name instead of the job id const title= 'Prenez en main votre vie pro | CarriereMatch.com' const getRecords = async () => { var test ="string" const records = await mentors .select({maxRecords: 6, view: "Grid view"}) .eachPage(function page(records, fetchNextPage) { records.forEach(function(record) { jobs.find(record.fields["Quel est votre métier actuel"], function(err, record) { if (err) { console.error("Big Error",err); return; } console.log(record) }); }); fetchNextPage(); }); } getRecords() .then(function(records) { res.render('index',{title: title, records}); });
Hey Airtable Team, I’m currently using Airtable to manage a catalog of items. Each record is a single item, with fields like SKU, description, dimensions, and so on. The client has asked me to figure out a way to export this catalog information from Airtable into a powerpoint document that can be downloaded and edited. The tricky part is that they want to include multiple Airtable records per page. Ideally we’d have a table of ten records per page, and the document would include as many slides as are needed to list all of the records in a particular Airtable view. I’ll admit that I haven’t even thought about how to tackle page breaks. What do you recommend? Is there an integration I could use, or is this a job for the scripting block? Basic requirements: Export data from Airtable for offline use Output should be editable (PDF won’t work) Multiple records per page Thanks so much for your help!
Hi, i m trying to connect a big table to appsheet but following the appsheet support. The airtable api doesn t support api calls with more than 21 columns. Any idea how to solve that? best
Hi Everyone, There are infnite examples of being able to post updates to the table into slack, but I was wondering if there were any date-driven event notifiers that are possible. For example, if I had a field of important dates, is there any way to have some sort of scripting block/zapier/iftts integration that will push a notification on that date to slack without the need of a server accessing the record everyday. Thanks in advance!
I am trying to write a formula that is used in another application through the API. The first Column “Collective Service” will only ever have one value (but could be one of six). The second Column is “Support Type” and it can have 1 to 3 value in it at any point. I would just like the formula to filter it when the first column is equal to one value and the second column also equal to one of the values. I have this at the moment: AND({Collective Service},‘Legal’, {Support Type},‘Divorce’) but it does not work. I have tried SEARCH and also FIND but that also does not work. Please help!!
Hello, I would to get the position of the column for the integration in my block : today I can see the name and id of the field : is it a way to have his position in the table ? If yes, how can we get it ? Thank you :winking_face: Viken
@Kasra - In reference to this, from the AMA session AMA Custom Blocks Contest Edition #1 - Getting Started with the Airtable Product Team (Live on Wednesday 6/10) There isn’t an API for getting this information at the moment, but I’ll note your +1 for it! Out of curiosity, what are you hoping to build with it? One thing I could imagine being potentially useful is a Custom Block that can stream updates to particular records or a particular table, along with the source of those updates - it could provide a useful place to keep an eye on changes to critical records/tables within a base while working in a different part of the base. I think opening up an API to record revision history in the SDK could be potentially useful for that kind of thing.
Hey, guys. I have an issue with an integration of mine. I’m extracting a time from a string from Google sheets and then putting that time into Airtable. I want to put it into the duration field, but it will not accept it. Does anyone have any idea of how to format this correctly or work around the duration field paramaters? Thank you!
Hi y’all, I’m trying to use Zapier to perform an action on a comma separated string of records, where that string is variable in length. It could be four records long, it could contain no records. As you probably know, Zapier natively will not iteratively work through a list of records and perform the Zap’s step to each. Having the ability to perform the following steps on a list of records would be fantastic. Alternatively, if I could break that string of records out into individual items, I could set up a complex series of filters and repeating steps, but I’m having trouble with that as well. In the past, I’ve used Zapier’s Text module to separate text into separate fields using [:space:] or [:return:]. However, when I try to use comma as a separator, I only get the string of records back as the output, not the individual records. Go easy on me. I’m not much of a coder, and still a bit of an Airtable n00b. :slightly_smiling_face:
I’m trying to query Linked Records out of a Linked Record Field from the record selected by cursor. I am trying to do so inside a component that is nested 4 levels deep, and has had said record passed down to it through props. When I attempt to await the result of .selectLinkedRecordsFromCellAsync() I get an error: And when I attempt to get them directly from .selectLinkedRecordsFromCell(), I get nothing back in my const linkedRecords, even though I’m 100% certain I have Linked Records there to query: I’m doing a horrible job of debugging this, and I have a feeling it’s likely something simple – a rookie mistake that I’m just missing. So I figured it’s probably about time to just ask and learn. Thanks for any help you can offer :slightly_smiling_face:
I read through this thread and this one trying to find a way to remove escaped quotes /" from the API response on a couple of fields. It looks like, if the field is calculated (I could be misspeaking, I’m just a developer working with the API so I’m unfamiliar with how using the Airtable interface works.) and includes a comma, it’ll wrap the string in extra quotes in the response. Ex: Agency Name for Website: "\\"Hearing, Speech and Deaf Center (HSDC)\\"" I’ve tried all of these variations in filterByFormula: `SUBSTITUTE('\\"', '')` `SUBSTITUTE("\\"", "")` `SUBSTITUTE({Agency Name for Website}, '\\"', '')` `SUBSTITUTE({Agency Name for Website}, "\\"", "")` and all versions without escaping the double quote, and encoded each here before appending them to the URL. None of them have any effect. Am I missing something? Something else in my parameters messing with it? A bug? Is there another way to remove the quotes? Thanks for any help. This is the full list of encoded parameters in my re
Hi there, hope someone can help me. I am used to visual basic which is obviously different. Is there any good guides anyone knows about how to get used to this or pointers on where to find the information. So excited (I know sad) to get some scripts working so I can speed up some of my more repetitive stuff and use new features on my base which I use daily and love it. Cheers Mark
I know there is getView(‘ViewName’) to retrieve a particuilar view of a table, but what if you don’t know the name of a view, or how many views there are? Is there a way to fetch ALL the views of a given table? Something like this: let table = base.getTable("TableName"); let allViews = table.getAllViews(); // something like this? output.inspect(allViews); I have a custom Vue app and want to display a table’s records and then populate a navbar with all the views so a user can click links to switch the table view.
I have a table that has a text column containing filenames. Each record has a single filename in it. On my computer, stored locally, I have a folder that is full of the actual files referenced by the filename field. What I want to do is create a script that goes through each record, attempts to match the filename to one of the files in the local folder, and then if there is a match uploads the matching file as an attachment to the record. Does this sound possible? Or am I dreaming impossible scripting-block dreams?
Hi there, I am very new to Airtable and I am trying to build a database that is able to go to the website and pull all products along with their ingredient list in the order that is listed. I have added the clipper google chrome, but I am not sure how to set it up to pull correctly. I would love anybody to help with this!
I have been using an AirTable base with about 600 records for an MVP backend of a webapp built through AppGyver using Airtable’s API. Unexpectedly, I can no longer access the base, whether through the API or through the AirTable interface. I get the following message: the base is unavailable. And I am certainly not sending over 5 API calls a second. What gives?
Hey! So, I have been using the scripts and absolutely love it. Is there a way I can freeze the first two columns in the options? Would be great to have official support for the same, because my data output size is huge and needs to be frozen for viewing easily. If anyone has written a Chrome plugin, do let me know, else happy to hack over the weekend. Thanks,
Hi! Is a composition of custom blocks available? In UI guidelines I found this phrase: You don’t need to build charting into your block if users can install the existing chart block alongside your block. Does it mean that a user can install one block inside another one?
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.