I am trying to figure out how to make a NEW sharepoint list based on an excel file. The excel file's columns will change and therefore the sharepoint list will need different columns. I can't find a way to iterate through the column names in excel file so that I can then use those column names to create new columns in the SP list. There also doesn't seem to be a way to just import it like the app in SP.
I have the HTTP actions to create the list and create the list columns...but don't have the excel columns.
I used the "list rows present in a table" and it gives the first row as the column names. Great. But how do I apply to each of those within one value to grab the names. It seems like there may be an action missing for "get columns" or something. Or is there another way of doing this? Thanks!
I'd also like to note that I can't use the dynamic values that show the column names because this needs to be a flow that will pull an excel file that doesn't exist yet and will have different column names all the time.
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
33 | |
25 |