PO Box 55056 RPO Windermere, Edmonton, AB T6W 5B4, Canada

Kemicard Scanner on an Experience Cloud Site

The Kemicard Scanner is a managed Lightning Web Component, so it can run on a Salesforce Experience Cloud site (formerly Community Cloud). Staff, volunteers and venue crews log in to the site and verify passes without full Salesforce access. This guide covers the four settings that make it work, and how to check each one.

Before you start

  • An Experience Cloud site with the Kemicard Scanner component on a page. The examples below use a site named Scanner.
  • The scanning users, each with an Experience Cloud (Community or Portal) license and profile, for example Customer Community Plus User or Partner Community User.
  • A Kemicard license for each scanning user. The Scanner itself needs no extra Kemicard license; the person scanning needs a way into Salesforce (a Salesforce license or an Experience Cloud/Community license) and an assigned Kemicard license. For large crews, ask about an org-wide license (Scanner licensing).
  • At least one Kemicard Event. Scanning is tied to an event, so create the events your crews will check people into first.

Step 1 — Add the scanning profiles to the site

Users can only reach the site's login page and authenticate to the scanner if their profile is a member of the site.

  1. In Setup, search for All Sites under Digital Experiences, then click Workspaces next to your scanner site.
  2. In the workspace, click Administration, then Members.
  3. Under Select Profiles, move the profiles that should use the scanner (for example, Partner Community User) from Available Profiles to Selected Profiles, then Save.
  4. Optional: to publish the site for external Community or Portal users, open Administration › Settings and click Activate.
Salesforce Setup All Sites page with the Workspaces link for the Scanner site highlighted
Setup › All Sites: open the scanner site's Workspaces.
Experience Cloud workspace for the Scanner site with the Administration tile highlighted
In the site workspace, click Administration.
Administration Members page with the Select Profiles section highlighted
Administration › Members › Select Profiles.
Members page with Partner Community User moved into Selected Profiles and the Save button highlighted
Add the scanning profile to Selected Profiles, then Save.
Administration Settings page for the Scanner site with the Activate button highlighted
Optional: Settings › Activate publishes the site for external Community and Portal users.

Step 2 — Let the site's users read the passes they scan

Logging in isn't enough. When a barcode is scanned, the site resolves it to a Kemicard Pass record and records the attendance, so the scanning user needs Read access to those pass records. If the Kemicard Pass object's default for external users is Private, site users see no pass data and scans fail. Salesforce keeps separate organization-wide defaults for external users, and the usual fix is a sharing rule rather than opening the default.

  1. In Setup, open Sharing Settings and check the organization-wide default for Kemicard Pass. In the example, internal access is Public Read/Write and external access is Private.
  2. Under Kemicard Pass Sharing Rules, click New.
  3. Choose which passes to share, by owner (for example, passes generated by one user) or by criteria on pass fields (for example, passes for one event's template). Share only what the crew needs.
  4. Under Share with, pick the external users, for example Portal Roles and the relevant role.
  5. Set the access level to Read Only and Save. Add a rule for each user type that scans, such as one for Community users and one for Portal users.
Setup Sharing Settings page showing the Organization-Wide Defaults list
Setup › Sharing Settings.
Organization-wide defaults with Kemicard Pass set to Public Read/Write for internal users and Private for external users
The Kemicard Pass default: Public Read/Write for internal users, Private for external users.
Sharing Settings with the Kemicard Pass Sharing Rules section and its New button highlighted
Kemicard Pass Sharing Rules › New.
New sharing rule: based on criteria where Pass Name starts with Coffee Break Cafe, shared with Portal Roles, with Read Only access
A criteria-based rule: passes whose name starts with the event's name, shared with a portal role, Read Only.
Two Kemicard Pass sharing rules, one for the Customer Person Account portal role and one for the Partner Person Account portal role
One rule per scanning user type: here, the Community user and the Portal user.

Step 3 — Assign the event to the scanning users

The Scanner is context-aware: a user picks an active Kemicard Event before scanning. If someone logs in and sees no events, they haven't been assigned one.

  1. Open the Kemicard app, go to Kemicard Events, and open the event (or create it).
  2. Click Event Assignment.
  3. Choose the Assignment Type: User, Profile or Public Group. To give every Community and Portal user the event, choose Profile.
  4. Move the users, profiles or groups to Selected, then Save.

The event now appears in the scanner's event list for those users. Setting up assignments needs the Kemicard Event Admin permission set; since Kemicard 2.30, scanner-only users who open Event Assignment see an “Insufficient Privileges” message, and scanning a pass for an inactive event explains why it was rejected.

Kemicard Event record for SF TDX with the Event Assignment button highlighted
Kemicard › Kemicard Events › the event › Event Assignment.
Event Assignment screen with Assignment Type set to Profile and the Partner Community User and Customer Community User profiles selected
Assign by User, Profile or Public Group. Here, both community profiles are selected.

Step 4 — Assign the Kemicard Scanner permission set

Every scanning user, whatever their user type, needs the Kemicard Scanner permission set (permission set reference).

  1. In Setup, go to Users and open the user who will scan.
  2. In Permission Set Assignments, click Edit Assignments.
  3. Move Kemicard Scanner from Available to Enabled Permission Sets, then Save.
Setup Users list with a Customer Community Plus user highlighted
Setup › Users: open the community user who will run the scanner.
User record with the Permission Set Assignments section and Edit Assignments button highlighted
Permission Set Assignments › Edit Assignments.
Permission Set Assignments with Kemicard Scanner moved to Enabled Permission Sets and Save highlighted
Enable Kemicard Scanner, then Save.

Setup checklist

RequirementWhereWhy
Profile site accessExperience Workspace › Administration › MembersLets the user log in to the scanner site
Pass sharing ruleSetup › Sharing Settings › Kemicard Pass Sharing RulesLets the user read the passes being scanned
Event assignmentThe Kemicard Event record › Event AssignmentShows the event in the scanner's list
Permission setThe user record › Permission Set AssignmentsGives the user the Kemicard Scanner

Running a scan

  1. Log in to the Experience Cloud site.
  2. Select the event from the list.
  3. Click Start Scan and allow camera access when the browser asks.
  4. Read the result for each pass: Valid, Expired or an error. Each scan is checked against the live record and written back to Salesforce.

The scanner works the same way here as on a Salesforce page or in the Salesforce mobile app: camera or external scanner, identity checks and links. See the Scanner & Check-In guide.

If something doesn't work

SymptomCheck
The user can't reach the login page or log inTheir profile is in the site's Members, and the site is active (Step 1)
The user logs in but sees no eventsThe event is assigned to their user, profile or group (Step 3)
The event appears, but scans don't find the passA Kemicard Pass sharing rule gives their user type Read access (Step 2)
The scanner isn't available to the userThe Kemicard Scanner permission set is assigned (Step 4), and they have a Kemicard license
A pass is rejected with an inactive-event messageThe event isn't active. Activate it or pick the right event

Still stuck? Ask your System Administrator, or contact Kemicard support from the Kemicard Console's Contact Support.

Sources: Kemicard Scanner Community Site Setup Guide. Salesforce Help: External Organization-Wide Defaults Overview; Trailhead: Set Up Your First Partner Site (site members), Improve Data Security with Sharing Rules and Manage Salesforce Object Access (permission sets).