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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

To add a functioning Custom Barcode Scanner onto the portal using HTML and JS

(0) ShareShare
ReportReport
Posted on by 20

I am working on dynamics portals and I have issues with barcode scanner.

On creation of a result, the record is created in 'Results Entity' in dynamics365.

User needs to fill the details(barcode, result) in the create form and hit submit to create a record in dynamics.

Scanning is done through a mobile phone.

 ResultCreate.pngBarCodeScanner.png 

Requirement : 

1) In the Create Result page, in place of the 'barcode' field, I would like to have a button which is labelled as 'scan' and onclicking this button it should redirect to the next page, 'Scan QRcode from Camera'.

2) This scanBarcode page scans the presented bar/QR code and displays the result in a different section on the same page. I would like this result to be updated in the results entity under the 'barcode' field of my dynamics 365

ResultsEntity.png.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi zoro,

    Q:In the Create Result page, in place of the 'barcode' field, I would like to have a button which is labelled as 'scan' and onclicking this button it should redirect to the next page, 'Scan QRcode from Camera'.

    You could create a html as Create Results page instead of Result entity form.

    Q:This scanBarcode page scans the presented bar/QR code and displays the result in a different section on the same page. I would like this result to be updated in the results entity under the 'barcode' field of my dynamics 365

    You could use Web API to insert a record to your Result entity. Please refer to this doc:

    Portals Web API write, update, and delete operations - Power Apps | Microsoft Docs

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans