Help

Re: Convert Single Select to a Table

43 0
cancel
Showing results for 
Search instead for 
Did you mean: 
JKrug
4 - Data Explorer
4 - Data Explorer

Hi All!

I am trying to change a single select field in my base to a linked field, with all the single select options populated as rows in a new table. I have a long list of single select options that I do not want to have to re-type manually if possible.

I could have sworn this was possible in the past with a right-click action, but I can't find it anymore (or I don't remember right).

Thanks,

Jaco

5 Replies 5

Hey @JKrug!

Create the new table, and then just convert the single select field into a linked field (to the new table). That will automatically create the new records on the new table! No data will be lost ☺️. 

Mike, Consultant @ Automatic Nation

DisraeliGears01
6 - Interface Innovator
6 - Interface Innovator

Does creating your new table first (making sure that the primary field is a short text field), and then changing the single select to a linked field not work? That should associate your records and then you can substitute the primary field if you'd like.

If that for some reason isn't working, then I'd duplicate your single select field, convert to short text in the original table, and then do the same.

Sofiyullah001
4 - Data Explorer
4 - Data Explorer

Hi, Jaco

As an Airtable Certified Expert

Have you checked if there’s an option available in your platform that allows bulk actions on fields? It sounds like there’s an efficient way to convert your single select field into a linked field without retyping everything.

I can help you with this process, and it should be relatively straightforward to set it up using a simple script or database query. I have extensive experience working with database management and field manipulation, ensuring seamless transitions without losing data.

I’d be happy to discuss more in detail and work together on this. Let me know how you’d like to proceed!

Best Regards,

Sofiyullah

Hi,
Your memories based on other action - when you turn text to a single-select. you see all future options in a text way. Previous advices will work only for options, currently selected in field.

To see all, use one-liner. It prints last created single-select field options on active table, available to copy-paste.  If it has several such fields and script took wrong, duplicate desirable, then run. Ignore linter. 

 

console.log([' ',...base.getTable(cursor.activeTableId||' ').fields.filter(f=>f.type=='singleSelect').pop()['options']['choices'].map(c=>c.name),' '].join('\n'))

 

There's a free script in the Airtable Marketplace that should do what you need: https://airtable.com/marketplace/scrTTfECsGz67CMob/create-records-from-multiple-select