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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trouble populating my ...
Power Apps
Answered

Trouble populating my powerapp gallery data to my Sharepoint List

(0) ShareShare
ReportReport
Posted on by 72

Hi there

Hoping someone can assist me.

I'm VERY new to PowerApps and just teaching myself as I go.

My PowerApps data is not populating my SharePoint list at all. It is connected as I can see the 3 little marks suggesting a new row is loading and clicking on details shows the row number has increased but nothing is displayed.

SM17_1-1696618595737.png

 

 

 

SM17_0-1696618557343.png

 

What could be causing this?

Any assistance would be so greatly appreciated.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    did you refresh the list/source ?  How are you saving - patch or form submit?

  • SM17 Profile Picture
    72 on at

    Thanks so much for replying. I really appreciate it.

    It's hard to explain but basically the app flow is:

    • Screen 1 is a gallery where customer selects location
    • This info along with time & date is automatically populated on screen 2 with 2 editable fields (issue type drop down & issue detail). 
    • On the bottom of the same screen, customer can scan their profile QR barcode. Then press review.
    • This takes customer to last screen where they can review all provided data (in gallery2).

    The profile QR barcode contains 3 pieces of data relating to their id, name, phone. The barcode reader is meant to be scanning this and saving to a ScannedData collection. This info is also meant to be displayed in gallery2 but this isn't displaying in the gallery. The rest is. 

    Hence I believe the 3x customer fields below are incorrect too.

     

    Patch(
    APCOApp_CustomerFeedback,
    Defaults(APCOApp_CustomerFeedback)
    );
    {
    SiteName: Site.Text,
    siteId: 'Site No'.Text,
    date: Date.Text,
    time: 'Issue Time'.Text,
    customerId: customerid,
    customerName: customername,
    customerPhone: customerphone,
    IssueType: 'Issue Type'.Text,
    IssueDescription: Issuedescription.Text
    };
    Navigate(BrowseGallery1, ScreenTransition.None)

  • SM17 Profile Picture
    72 on at

    The onscan barcode reader formula is:

     

    Set(
    BarcodeReader1_Value,
    true
    );
    Set(
    parsed,
    Substitute(
    Substitute(
    BarcodeReader1_Value,
    "\n",
    ""
    ),
    "\",
    ""
    )
    );
    Set(
    fields,
    ForAll(
    Split(
    parsed,
    ":"
    ),
    {Result: ThisRecord.Value}
    )
    );
    Set(
    id_value,
    Substitute(
    Index(
    fields,
    2
    ).Result,
    """",
    ""
    )
    );
    Set(
    name_value,
    Substitute(
    Index(
    fields,
    3
    ).Result,
    """",
    ""
    )
    );
    Set(
    phone_value,
    Substitute(
    Substitute(
    Index(
    fields,
    4
    ).Result,
    "}",
    ""
    ),
    """",
    ""
    )
    );
    Set(
    customerId,
    Index(
    ForAll(
    Split(
    id_value,
    ","
    ),
    {Result: ThisRecord.Value}
    ),
    1
    ).Result
    );
    Set(
    customerName,
    Index(
    ForAll(
    Split(
    name_value,
    ","
    ),
    {Result: ThisRecord.Value}
    ),
    1
    ).Result
    );
    Set(
    customerPhone,
    phone_value
    );

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I think your patch may not be supplying the correctly formatted values. There are a few videos online that provide what's needed for each column type. I can't find it right now but google powerapps patch and you should be able to find it.

  • SM17 Profile Picture
    72 on at

    Thanks so much. I will give it a go 😊

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    this might be the one.. https://www.youtube.com/watch?v=g9ChYuTdNd4 he has others too...very helpful videos

  • SM17 Profile Picture
    72 on at

    You're a legend. Thanks so much. Really appreciate it 🙏 

  • SM17 Profile Picture
    72 on at

    Another issue I'm having is that my QR barcode data which is meant to be saved in a collection called ScannedData, is not populating in my gallery2. 

     

    See below. 

    I'm getting this delegation limit error msg as well but it wasn't working before getting that msg either. 

     

    SM17_0-1696656633639.png

    I don't seem to be getting any error messages related to my barcodereader1 onscan property so really stumped! 

     

     

    Any suggestions? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I haven't used a bar code reader, so may not be much help. Do you know if the data is coming back? can you collect it in a collection and then view it? (not in gallery but within the tools part)

  • SM17 Profile Picture
    72 on at

    Thanks so much for replying to my post @Anonymous. Really appreciate it. 

    I'm that new to PowerApps that I didn't even know that tool section existed! 

    hmmm, not much happened at all I'm afraid.

    Problem is, I keep searching the internet for help and then change my code and then go backwards or around in circles!

    I really wanted to achieve this and have a tight deadline by Monday but don't think it's going to happen.

     

    I was told that the barcode reader can only display data in a gallery/table and to use a collection to save and use it throughout the app. However, it doesn't display. 

    My barcode is a QR code with 3 bits of info that I need to extract and save in separate columns of a SharePoint list. However, nothing is making its way to my sharepoint list. It seems to add a new row but with no data attached but my recent attempts have resulted in the following...

    SM17_0-1697137952941.png

     

    Would love to know your thoughts. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard