I have a MS SharePoint list (SP1) where the column headings are
First Name
Last Name
DOB
Address
Post Code
Colour
_PoweAppsId_
However when I create a collection based on the MS SharePoint list, the field names are different e.g.,
ClearCollect(NewCollection,ShowColumns(SP1,"Title","field_1","DOB","field_2","field_3","field_4","field_6"))
How do change the above ClearCollect line so that I get the same column names as in the MS SharePoint list.
I'm ultimately creating a flow, using Power Automate, to output the collection to a CSV file and at the moment I'm getting the CSV column names
Title
field_1
DOB
field_2
field_3
field_4
field_6