Hello All,
I'm receiving the follow error below, when attempting to reset the gallery upon clicking the Submit button.
Would anyone be able to lend a hand and let me know what needs to be done?
Hey @Sanshubhs
I added that and it still didn't clear the items out:
Is that the correct placement?
Thanks!
Then Clear the Collection colScannedItems
Clear(colScannedItems);
Hi @SpongYe
Yes. I meant the items in the gallery. Any idea how to reset the items after submitting?
Thanks!
Why you want to reset the gallery? Or do you mean the items in the gallery?
Hi @SpongYe
Thank you for pointing that out. I did change the Reset(Gallery5). That took the error message away, however, the gallery is still not resetting.
Any other ideas?
Hi @Shaguar357
Based on your screenshots provided I see in the code you're resetting the Barcode control.
You should change the code to:
Reset(Gallery5)
-----------------------
PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.