Check-In URL Configuration =========================== The Check-In URL Configuration feature allows you to configure check-in stations using a specially formatted URL, eliminating the need for users to manually log in and configure each station. This is particularly useful for quickly setting up multiple kiosks or for situations where you want to ensure consistent configuration across stations. Overview -------- Instead of manually entering credentials, kiosk name, profile, and camera settings at each check-in station, you can generate a single URL that includes all of this information. When a user navigates to this URL, the check-in station will automatically sign in with the provided credentials and apply the specified configuration. URL Format ---------- The check-in URL follows this format: ``https://yourdatabase.tpsdb.com/CheckIn?name=KIOSK_NAME&profile=PROFILE_NAME&id=ENCODED_CREDENTIALS&cam=CAMERA_OPTION`` Parameters: **name** (required) The unique name for this kiosk. This must match the name configured in your print server. **profile** (required) The name of the Check-In Profile to use. This must match an existing profile name (case sensitive). **id** (required) Base64-encoded credentials in the format ``username:password``. The username must be for an account with the `Checkin` role. **cam** (optional) Camera configuration for QR code scanning. Options are: * ``none`` - No camera (default) * ``user`` - Front-facing camera * ``environment`` - Rear-facing camera .. seealso:: | :doc:`CheckInProfiles` for information on creating and managing profiles | :doc:`CheckInPrintServer` for information on configuring kiosk names in your print server Creating Configuration URLs Manually ------------------------------------- To create a configuration URL manually: #. Choose your kiosk name, profile name, and camera option #. Encode your credentials (``username:password``) using Base64 encoding #. Construct the URL with all parameters .. warning:: The URL contains encoded credentials. Treat these URLs as sensitive information and do not share them publicly. Anyone with access to the URL can decode the credentials. URL Generator Python Script ---------------------------- For convenience, you can use the following Python script as Special Content in TouchPoint to automatically generate configuration URLs with a user-friendly interface. This script provides a form where you can select your options and automatically generates the properly formatted URL. Special Content Setup ^^^^^^^^^^^^^^^^^^^^^ #. Go to `Admin > Advanced > Special Content` #. Create a new Special Content item #. Set the name (e.g., "Check-In URL Generator") #. Paste the Python script below into the content area #. Save the Special Content Python Script ^^^^^^^^^^^^^ .. code-block:: python # Pckgd # Title: Check-in Link Generator # Description: Kiosks can be configured to sign in automatically with credentials computed by this script. # Updates from: GitHub/TenthPres/TouchPointScripts/CheckinLinkGenerator/CheckinLinkGenerator.py # Author: James at Tenth global model, q # get profiles profs = q.QuerySql("SELECT TOP 100 * FROM CheckinProfiles ORDER BY Name") profileOpts = [] for p in profs: profileOpts.append(''.format(p.Name.lower(), p.Name)) # language=html print('''