I'm using the Flow Management connector to return information about the environments available to my App. The data comes as a JSON structure, which I'm pulling into a collection by each Environment using:
ClearCollect(EnvList, Flow.ListUserEnvironments().value);
The structure is a Single row in the collection for each environment with headings of Location, Name and Properties (Single row nested table).
I'm trying to flatten the table for use in a DropDown, which currently won't let me use EnvList.Properties.DisplayName, so I'm using the following to re-write the collection at the properties level, but I really need the environment "Name" value too..
ForAll(EnvList, Collect(EnvironmentListForDD,properties));
So I've tried several iterations to try and expand the table, flattening the properties table out, but to no avail.
ClearCollect(TestList,ShowColumns(EnvList,"name","properties"))
Any ideas gratefully received.