Hi all, I am trying to create an automation such that when a person creates a new record in the projects table, a view is automatically created in the tasks table such that any records with that record are filtered to be the only records shown. I figured that this could be done with scripting, but I’m not sure how to create a view in the tasks table with a specific filter applied.
Trying to create new view with certain filter applied
Best answer by ScottWorld
That is not possible with Airtable. Views and filters cannot be changed via scripting nor the API. Views and filters can only be changed manually by a user on their device.
You may want to change the filter to only show the user their own records, and then sort the records so the newest one is at the top. Then, the user will always see their new record at the top of the view.
If you do this at the data layer, you’ll need to create a separate view for each user.
If you do this at the interface layer, you only need to create one interface page because interface pages can dynamically change to show the currently logged-in user their own records.
Because of this and all the other advantages that come with interfaces, interface pages are vastly superior to data layer views.
Hope this helps!
If you have a budget and you’d like to hire the best Airtable consultant to help you with this or anything else that is Airtable-related, please feel free to contact me through my website: Airtable consultant — ScottWorld
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
