Hi @Sumaira
Resetting a business card reader control is not possible as per current capabilities of the power platform. There is an idea regarding the same, which is planned to release, please upvote it to speed-up the process: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-to-clear-the-AI-Builder-Object-Detection-and-Card-Reader/idi-p/320674
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thanks for the response @v-siky-msft
I'm able to reset the fields related to business card using the solution you provided, thanks for that.
But the captured business card is not getting clear.
How to clear the captured business card?
Please guide
Best Regards,
Sumaira
Currently, the Business card doesn't support Reset function. please vote for this idea which is in plan.
However, as an alternative workaround for resetting the form content, use variable to pass the BusinessCardReader value, and show on the form. when you want to reset them, just set these variables to blank.
For example:
1. set OnChange property of BusinessCardReader1:
UpdateContext({VarName:BusinessCardReader1.FullName,VarPhone:BusinessCardReader1.BusinessPhone})
2. set Default property of text box in the form to Variables
3. set OnSelect property of Reset button:
UpdateContext({VarName:Blank(),VarPhone:Blank()})
Sik
Thanks for the response kidvallejo
I'm sharing the screenshot
Please guide
Best Regards,
Sumaira
Did you reset the businesscard reader control? Else, could you share a screenshot of the build with the tree view for the componenets?
Hello,
Are they added to a form? In which case create a button with onselect: reset(form_name)...
If not, I would use Reset(xxx) where xxx is the text input field name...
Hope it helps
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional