Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Unable to collect details from a editable repeating gallery

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am working on an editable repeating gallery, I have my details from Sharepoint but I have empty fields which would be filled up by the user if they need to, I am using a toggle control to determine if the field does not match but the toggle is turning on if the field and the sharepoint column is both empty which should not be. Also, if I add another condition on the toggle  it would only turn on if the last condition in the code is fulfilled. 

 

Here's the OnChange code for my text control

 

Patch(colUpdateData, ThisItem, {'INC Number': txtAssetINC.Text, Model:txtAssetModel.Text});

 

 

Here's the code for my toggle

 

If(ThisItem.'INC Number' <> txtAssetINC.Text || ThisItem.Model <> txtAssetModel.Text, true)

 

 

Here's the code for saving the changes on Sharepoint

ForAll(Filter(galExitClearance.AllItems, Toggle1.Value = true), Patch('Exit Clearance List', ThisRecord, {'INC Number': txtAssetINC.Text, Model:txtAssetModel.Text}))

 

 

Categories:
  • Gerard Simpson Profile Picture
    2,987 Super User 2025 Season 1 on at
    Re: Unable to collect details from a editable repeating gallery

    Hi, I would use this much slicker patter Reza showcases for this instead: https://youtu.be/76RJyaoW0BQ?si=5rWUp0ks-tcQvfT6 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard