Skip to main content

Notifications

Community site session details

Community site session details

Session Id : nHR3DJFbTDqZVUvfmMGtWP
Power Apps - Building Power Apps
Answered

Business cards scanner functionality in power apps

Like (0) ShareShare
ReportReport
Posted on 20 Jan 2020 15:43:42 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:
  • Verified answer
    v-siky-msft Profile Picture
    on 22 Jan 2020 at 09:30:54
    Re: Business cards scanner functionality in power apps

    @Sumaira 

     

    That‘s true.

    Please wait for the update of the new function.

    Sik

  • Verified answer
    yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on 22 Jan 2020 at 09:22:20
    Re: Business cards scanner functionality in power apps

    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!

     

     

  • Sumaira Profile Picture
    642 on 22 Jan 2020 at 09:13:15
    Re: Business cards scanner functionality in power apps

    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
    v-siky-msft Profile Picture
    on 21 Jan 2020 at 07:40:19
    Re: Business cards scanner functionality in power apps

    @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 21 Jan 2020 at 03:56:45
    Re: Business cards scanner functionality in power apps

    Thanks for the response kidvallejo

    I'm sharing the screenshot

    PowerApp1.PNG

    Please guide

    Best Regards,

    Sumaira

  • kidvallejo Profile Picture
    100 on 20 Jan 2020 at 15:59:56
    Re: Business cards scanner functionality in power apps

    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 20 Jan 2020 at 15:57:03
    Re: Business cards scanner functionality in power apps
    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 20 Jan 2020 at 15:49:55
    Re: Business cards scanner functionality in power apps

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started