Create the site for the Check-In/Out kiosk
Go to Setup > All Sites > New > Build Your Own (Aura) > Get Started
Name: Check In/Out Kiosk
URL: checkinkiosk
Click Create button > Builder >
Display the component on the site.
Go to Components > drag and drop the Check-In Kiosk Component > click the Publish button.
Make sure the Site is set to Public.
Setup the Check-In/Out Kiosk Timezone
Go to the Gear/Settings icon below the Page Structure
Click Assigned Users > click Site Guest User, Check In/Out Kiosk > click Edit > go to Locale Settings section > Update the Time Zone = (GMT+10:00) Australian Eastern Standard Time (Australia/Sydney) > click Save
To add the location parameter, follow the URL setup below.
Add this in the URL:
?assetId=(Asset Record Id where RecordType = Location)
Example: https://momentum-nosoftware-5687-dev-ed.my.site.com/checkinkiosk/s/?assetId=0128r000000gaBxAAI
Go to Sharing Settings and config/add the following:
Account Sharing Rules
Go to Setup > Sharing Settings > Account Sharing Rules > Click New > Label = Sign In Kiosk > tick Guest user access, based on criteria
Asset Sharing Rules
Go to Setup > All Sites > Builder > click Gear/Settings icon (below the Page Structure) > click Check in/out Kiosk Guest User Profile > Object Settings > give permission to the following objects and fields
Account (Read)
recordtypes
Contact (Read)
Student Record (Read/Create)
Asset (Read)
recordtypes
Event record types
Click Profile Overview > Apex Class Access > Enabled Apex Class Access → Add the following Classes
System Permissions → tick Access Activities