web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SPO List Checkbox Colu...
Power Apps
Unanswered

SPO List Checkbox Column into Collection Key:Value Pair

(1) ShareShare
ReportReport
Posted on by 6
Does anyone know what the proper syntax is for adding a SharePoint list multi-select checkbox column into a Power Apps Collection key:value pair?  I have the other columns working that are of type text and image.

"MOCA-WTW-Scenarios" is the sharepoint list name.
"ScenarioFocusAreas" is the column I am having trouble with. 
 
I'd like it to be inserted into the Collection as an array of records. Like this.
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,362 Super User 2025 Season 2 on at
    Hi,
     
    So you want it to show up as a table (which is what it will be) in that collection?
     
     
  • RJCTF Profile Picture
    6 on at
    Hello - What I need is to insert the data into the collection as a double quote array like this: "selection1","selection2".

    I have it posting correctly to the collection as a table. I thought I needed something special for that but apparently not.  Here is the code as I have it now...
     
    /*Collect for Scenarios*/
    Clear(Scenarios);
    ForAll('MOCA-WTW-Scenarios',Collect(Scenarios, {
        ScenarioID: ThisRecord.ScenarioID,
        ScenarioName: ThisRecord.ScenarioName,
        ScenarioDescription: ThisRecord.ScenarioDescription,
        ScenarioImage: ThisRecord.ScenarioImage,
        ScenarioHelpLink: ThisRecord.ScenarioHelpLink,
        ScenarioHelpLinkText: ThisRecord.ScenarioHelpLinkText,
        ScenarioFocusAreas: ThisRecord.ScenarioFocusAreas
    }));
     
     
    When I hard-code it like this it works the way I want it to. The power app controls work properly.
    Inside of the Collection it looks exactly the same as a table, but somehow it is stored slightly differently. If that makes sense.

     
    /*Collect for Scenarios*/
    Clear(Scenarios);
    ForAll('MOCA-WTW-Scenarios',Collect(Scenarios, {
        ScenarioID: ThisRecord.ScenarioID,
        ScenarioName: ThisRecord.ScenarioName,
        ScenarioDescription: ThisRecord.ScenarioDescription,
        ScenarioImage: ThisRecord.ScenarioImage,
        ScenarioHelpLink: ThisRecord.ScenarioHelpLink,
        ScenarioHelpLinkText: ThisRecord.ScenarioHelpLinkText,
        ScenarioFocusAreas: ["Organizational Productivity","Team Productivity"]
        //ScenarioFocusAreas: ThisRecord.ScenarioFocusAreas
    }));


     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard