gtabboud / salesforce-mobilepublisher-barcodescanner-demo

Simple Mobile Publisher demo with a barcode scanner component to be embedded in an Experience Cloud site.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salesforce Mobile Publisher Barcode Scanner Demo

Simple Mobile Publisher demo with a barcode scanner component to be embedded in an Experience Cloud site. It needs to be an Aura (Build your Own) for now, LWR (Build your Own) doesn't seem to work as of June 2022. The component scans the barcode and looks up a product from the Product2 object based on Product Code in the barcode. Images for the products are retrieved from the static resource.

To configure:

  1. Create Experience Cloud Site, set member Profile, make active, add component and publish site
  2. Import / create products
  3. Ensure profile has access to the ProductLookupController Apex class
  4. Create Account and Contact/PersonAccount and User record with Profile

Resources

About

Simple Mobile Publisher demo with a barcode scanner component to be embedded in an Experience Cloud site.


Languages

Language:JavaScript 63.1%Language:HTML 21.6%Language:CSS 7.9%Language:Apex 6.4%Language:Shell 1.0%