Notifications
Announcements
Hello All,
I am very new to PowerApps, attached is the AI Builder Business Card Scanner, wherein once i click Save to Sharepoint, it should save the data to Sharepoint and then reset the form to blank, so that there will not be any confusion.
There could be multiple ways of doing this. I use this trick - Not to bind the controls directly with Card Reader properties.
1. Declare variables in App On Load Events like - Set(varFirstName, ""); Set(varLastName, "");
2. Bind Your Label1 or TextBox1.Text = varFirstName;
3. Card Reader OnChange event - Set(varFirstName, CardReader.FirstName);
4. On Submit Button - Set(varFirstName, "");
And you are good to go.
Hope this helps,
Pranav
Hello,
You can reset the business card reader by adding to the OnSelect action from your "Save to Sharepoint" button the following command: Reset("YourBusinessCardReaderComponent"). This will clean up the placeholder image and the properties of "YourBusinessCardReaderComponent".
There is currently a bug with the reset of the business card reader (the properties are no cleared up), but this will be fixed soon. In the meanwhile, you can set the form field values to an empty string also in the OnSelect action of the button as well.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268