You are here:
Configure the Visualforce Barcode Scanner Page for Point-of-Entry Verification
Safety Cloud comes with a Visualforce page that you can use to scan SMART Health Card QR codes. You can load the Visualforce page on any browser. After it’s scanned, the QR code’s payload is extracted and verified by the Safety Cloud health card verification service.
The Visualforce Barcode Scanner feature requires the Safety Cloud Health Card Self-Register permission set.
To configure the Visualforce page to scan SMART Health Card QR Codes, complete these steps.
- From Setup, in the Quick find box, enter Digital Experiences, and then select All Sites.
- From the All Sites page, click New.
- Scroll to the Salesforce Tabs + Visualforce template, select it, and then click Get Started.
-
Enter a name for the Visualforce page, and optionally specify a URL.
If you don’t specify a URL name, the system creates it for you.
The URL is the site of the Visualforce Barcode Scanner page.
-
Click Create.
It can take a few minutes to create the site. When the site creation finishes, you must configure the site.
- To configure the page, select Administration.
-
Set the user authorization requirements for the page.
-
From the left side panel of the Administration page, click
Members.
You can set authorization by profile or by permission set.
-
Select from the available profiles or permission sets, and add them to
the Selected Profiles or Selected Permission Sets window.
Any users who have the profiles or permission sets that you specify on the Members page can access and use the scanner site as soon as the site is activated.
- Save your changes.
- Assign Safety Cloud HealthCard Self Register PermissionSetGroup to the users who need access to the page.
-
From the left side panel of the Administration page, click
Members.
-
Set the tabs to include on the Visualforce Barcode Scanner site.
- From the left side panel of the Administration page, click Tabs.
-
From the Selected Tabs window, remove Chatter.
Chatter is a selected tab by default, but it’s not needed for the Visualforce Barcode Scanner site.
- From the Available Tabs window, select Health Card Scanner, and add it to the Selected Tabs window.
- Save your changes.
-
Set the login experience and branding for the Visualforce Barcode Scanner
site.
- From the left side panel of the Administration page, click Login & Registration.
- Click the Allow employees to log in directly to an Experience Cloud site checkbox.
- Save your changes.
-
Configure the page requirements for the Visualforce Barcode Scanner site.
- From the left side panel of the Administration page, click Pages.
-
Set the Home Page to Visualforce Page.
- Using the Lookup feature for the Home Page field, search for Health Card Scanner.
- Select HealthCardScanner.
- Save your changes.
- Use the look-up feature to Use your own static resource .
-
Activate the Visualforce Barcode Scanner site.
- From the left side panel of the Administration page, click Settings.
- Click Activate Site, and click OK to the information message.
Users who have access to the Visualforce Barcode Scanner site can go to the App launcher and select the Scanner app. The Visualforce Barcode Scanner site opens on the user’s device, and they can use it to scan SMART Health Card QR codes from cardholders.

