
Announcements
Hi,
I'm new to PowerApps and hope my question is clear.
I have a list on SharePoint with a text type column name "Param", storing values like :
{"Property1":"London","Property2":"1"}
{Property1:"London",Property2:"1"}
Note : (I tried with " and without)
In my PowerApps application I want to store in a collection the values of my SharePoint column. I tried manually to collect data like this and it worked :
Collect(Questions, {Property1:"Paris",Property2:"2"})
Now, I want from my gallery. To do so, I use the following code in my "OnSelect" from the gallery :
Collect(Questions,Gallery.Selected.Param);
But there is the result in my collection "Questions", the first row is the "manually" set record :
| Property1 | Property2 | Value |
| Paris | 2 | |
| {"Property1":"London","Property2":"1"} | ||
| {Property1:"London",Property2:"1"} |
With this, I can't access to the Property1 from the record 2 and 3.
What did I do wrong ?
Thanks