cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Sumaira
Level: Powered On

Business cards scanner functionality in power apps

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
3 ACCEPTED SOLUTIONS

Accepted Solutions
Microsoft v-siky-msft
Microsoft

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

View solution in original post

Dual Super User
Dual Super User

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-Detectio... 

 

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!

 

 

View solution in original post

Microsoft v-siky-msft
Microsoft

Re: Business cards scanner functionality in power apps

@Sumaira 

 

That‘s true.

Please wait for the update of the new function.

Sik

View solution in original post

8 REPLIES 8
kidvallejo
Level: Powered On

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

Sumaira
Level: Powered On

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
Level: Powered On

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
Level: Powered On

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

Microsoft v-siky-msft
Microsoft

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

View solution in original post

Sumaira
Level: Powered On

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

Dual Super User
Dual Super User

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-Detectio... 

 

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!

 

 

View solution in original post

Microsoft v-siky-msft
Microsoft

Re: Business cards scanner functionality in power apps

@Sumaira 

 

That‘s true.

Please wait for the update of the new function.

Sik

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,854)