The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
Oct 07, 2020 10:11 PM
hi. im trying to change the view with filter by api as i said. (outside airtable)
i read the api document. and tried to “filter by formula” by airtable encoder.
BUT as i understand it only support “GET records” which is not i want (to ADD filter in the view)
is there a way?
Solved! Go to Solution.
Oct 07, 2020 10:26 PM
No, you can’t control a view with the API. The API is for interacting with records only, not modifying the Airtable user interface.
Oct 07, 2020 10:26 PM
No, you can’t control a view with the API. The API is for interacting with records only, not modifying the Airtable user interface.
Oct 07, 2020 10:27 PM
got it. so helpful. thanks
Oct 07, 2020 10:28 PM
You’re welcome! Glad I could help!
Oct 08, 2020 06:52 AM
There’s actually is a pathway to creating the desired outcome, but you might not like it. Here’s how I did it once.
There are many reasons this is a terrible approach; it is a kludge without question, but it does provide a way for non-technical users to create new views of their data dynamically.
Oct 08, 2020 07:39 AM
I create a checkbox field in my view and set the filter to be based on the checkbox. Then I use Scripting to set the checkbox to include only the records I want.
This isn’t as good as an actual filter for a view because default values for new records aren’t set. Sometimes I turn on grouping in the view to get default values.