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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Barcode Scanner Popula...
Power Pages
Answered

Barcode Scanner Populating SharePoint Data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have an app where I utilize the Barcode scanner. I am able to get the barcode button to populate the datacard text box, but when I go to edit the form the scanned data in the datacard does not show up. It is still there because if you were to save without editing this section it would show up in the detail form. Is there a way to get the scanned data to populate showing the user that the field has already been filled out and they dont need to edit it. I am able to show the scanned value data if the default for the text box is Parent.Default, but if I do this my scan button no longer populates the datacard text box if I need to overwrite what is already there. Vice versa if I have the datacard text box default set to scanValue 1 it will be able to scan and put in the data but will not show up when you go edit the form again.

 

Any thoughts or help would be great.

 

Here are some screenshots:

 

rkeeran76_0-1593240536128.png

 

rkeeran76_2-1593240648981.png

 

Thanks for the help.

 

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Try to apply If/else logic to Default property of text box.

    If(IsBlank(scanValue1), Parent.Default, scanValue1)

     

    You also need to reset the scanValue1 variable, try to append the following code the OnSelect property of Check icon.

    Set(scanValue1,Blank())

     

    Please try it on to see if it makes sense for your case.

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 29

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard