Why doesn't this table-creation script work?

194 1
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

The required parameter for the base.createTableAsync call is Fields, but when I put a dynamic list of Fields in it, it says that it's not the right type, when it really is. Is there a workaround? I do not want to hand-key in all of the fields, which may change fairly regularly. 

Goal: Duplicate the Trainees table

Blocker: base.createTableAsync's Fields parameter does not accept a dynamic set of Fields



1 Reply 1

Hmm, I just tested your code and it's fine:

Screen Recording 2024-03-21 at 10.24.26 AM.gif

Does the table have any fields that can't be created perhaps?