I am just curious if it is possible to write a script that uses a multi select date picker calendar to create bulk records with same details via script.
Use case - I want to create jobs on specific dates, times, locations, etc. in bulk. I can see this being used for a ton of different use cases though.
+ add another shift
So my created records would be a total of 9 records:
Also, work with linked records & single/multi select and have drop down to search like in airtable.
It’s technically possible, but using the current API it wouldn’t be pretty. For one, a date picker doesn’t exist (yet). One could be hacked together using a collection of buttons, but there’s no way to control their layout. They just pack together side-by-side, wrapping to new rows based on the sidebar width. There are probably other ways of doing this, but they’re all workarounds of various types. This is a great use case for a custom app, though.
Perhaps you misread my comment. A date picker for scripts doesn’t exist. The date picker you see for date fields is not currently available to use in scripts. We all hope it’ll get added someday, but for now the only way for a script to ask a user to pick a date is to either present a text input and parse the result, or build a button-based input system of some kind. The first is prone to errors based on how the user types the date, and the button-driven options are just ugly and cumbersome, though a lot less error-prone.
That’s why I said that a custom app would be a better way to go. I haven’t yet developed a custom Airtable app myself, but my understanding from conversations I’ve had with others is that there’s a date widget that can be used in the custom app UI. Whether that date widget is a native Airtable app element or a third-party script, I’m not sure.