If you want the guest to identify themselves first by matching on an existing contact record set the value of field Identify visitor first to “Search Contacts”.
In order to use this feature the Site Guest User must have been granted access to Contact Records that are eligible for selection. This can only be done by a Salesforce System Administrator. This will need to be reviewed by your architecture and design department.
On Organizing Entity, use field Where Clause (Selected Contact) to add custom filtering to upcoming events. This is an expression included in a SOQL Where Clause that is applied to the Event_Function__c object. The left-hand side of the clause must include an Event_Function__c field or an Event_Function__c Related Object field. For the Where Clause (Selected Contact) the right-hand side of the where condition can reference a Contact field or a Contact parent field. Merge syntax must be used to reference Contact related fields. For example: Venue__r.City__c = '{!Contact.MailingCity}' This shows active, upcoming events that are in the same city as the selected contact's mailing city.
-
On the Upcoming Events page, there is the ability for delegates to search their Contact records to streamline the registration process. Contact Searching is specified on the Organizing Entity.
-
Contact searching includes:
-
Searching for their Contact record using mobile number or email address.
This is enabled by selecting a Search Contacts value on the Identify Visitor First field.
-
-
Adding additional filtering
If you want to filter upcoming events based on the Contact record that was selected, add SOQL to field Where Clause (Selected Contact)
-
A Where Clause can be applied to filter the search of Event records using values from the Contact record.
For example, use this to only show those Events that are in the same city as where the Contact lives:
-
The upcoming Events that meet the selection criteria are shown.
If the guest clicks on an Event, the registration form will be pre-populated with values from their Contact record.