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:
- Create Experience Cloud Site, set member Profile, make active, add component and publish site
- Import / create products
- Ensure profile has access to the
ProductLookupController
Apex class - Create Account and Contact/PersonAccount and User record with Profile
- Preview Your Mobile Experience Cloud Site with the Publisher Playground App (Beta) (https://help.salesforce.com/s/articleView?id=sf.branded_apps_playground.htm&type=5)
- Enable Biometric ID App Unlock for iOS and Android (https://help.salesforce.com/s/articleView?id=sf.branded_apps_biometric_id_ios_android.htm&type=5)
- Set Time Value for Biometric ID App Unlock (https://help.salesforce.com/s/articleView?id=sf.branded_apps_biometric_id_ios_android_time.htm&type=5)