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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Business cards scanner...
Power Apps
Answered

Business cards scanner functionality in power apps

(0) ShareShare
ReportReport
Posted on by 642
Hi Experts,
Could anybody please help me in how to set the clearing business card contents functionality.
I have created a canvas app for phone and I'm not able to clear the business card as well as the values retrieved from business card in each field.
I want to achieve something like "if a button is clicked, reset the business card as well as the contents" or once the lead is captured and saved successfully clear the power app field contents
Kindly guide
Best regards,
Sumaira
Categories:
I have the same question (0)
  • kidvallejo Profile Picture
    100 on at

    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

  • Sumaira Profile Picture
    642 on at
    Thanks for the response kidvallejo
    I tried using reset function
    It worked only for few fields
    But it didn't work for the fields which stored business card data
    Nor the previously uploaded business card was cleared
    Best Regards
    Sumaira
  • kidvallejo Profile Picture
    100 on at

    Did you reset the businesscard reader control? Else, could you share a screenshot of the build with the tree view for the componenets?

  • Sumaira Profile Picture
    642 on at

    Thanks for the response kidvallejo

    I'm sharing the screenshot

    PowerApp1.PNG

    Please guide

    Best Regards,

    Sumaira

  • Verified answer
    v-siky-msft Profile Picture
    on at

    @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()})

     

    Snipaste_2020-01-21_15-39-30.png

    Sik

  • Sumaira Profile Picture
    642 on at

    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

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

     

     

  • Verified answer
    v-siky-msft Profile Picture
    on at

    @Sumaira 

     

    That‘s true.

    Please wait for the update of the new function.

    Sik

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard