Understanding Event URLs
Base URL
The base URL for your TargetX instance is everything between the http(s):// and the com, e.g., https://yourschool.na00.force.com. Events add an additional parameter to this base URL: /events. You can access specific events, types, and categories for specific persons by adding additional parameters to the base URL/events.
Notes:
- You must be authenticated to the community to access many community-related areas of Events. You do not have to be authenticated to access Events sites.
- URLs do not allow spaces. You must insert “%20” or “+” to represent any spaces in the type item’s name, e.g., Business%20School or Business+School.
- Except for Salesforce IDs and keywords, URLs are not case-sensitive
My Events URL
- #/myevents - directs your browser to a specific contact record’s events
- ?cid={!Contact.Id} &k={!Contact.TargetX_Base__Access_Key__c} - directs your browser to a specific contact record
- Example: https://yourschool.na00.force.com/events#/myevents?cid=0012300000Ab1cD&k=493fb7d79fb421e4c64045a74bda34c1
Featured Events
- #/featured
- Example: https://yourschool.na00.force.com/events#/featured
Event Calendar Parameters
- These parameters make specific use of the Events Communities calendar.
- These parameters may be used together in the same URL by using an ampersand (&) to link the parameters: e.g., “?category=undergraduate?&type=Class%20Visit?&location=a012300000Ab1cD” when used in this fashion, the search results will return any organization event records that exactly match the related URL parameter(s) and those organization events where the related value is not populated (i.e., Null)
- Event Specific Registration (ESR) - The ESR is the event registration form for a specific event.
- #/calendar - directs your browser to the Events calendar
- ?eid=<<event ID#>> - directs your browser to a specific event
- Example: https://yourschool.na00.force.com/events#/calendar?eid=0012300000Ab1cD
- Category
- #/calendar - directs your browser to the Events calendar
- ?category=<<category picklist item>> directs your browser to search for specific events matching the given category
Note: Category is not a filter available on the student-facing Events UI. This is only an Attribute tagged to the underlying Organization Event record.
- Type
- type=<<type picklist item>> - directs your browser to search for specific events matching the given type
- #/calendar - directs your browser to the Events calendar
- Example: https://yourschool.na00.force.com/events#/calendar?type=Class%20Visit
- Type and Category Example: https://yourschool.na00.force.com/events#/calendar?category=graduate?&type=Class%20Visit
- Invited
- &category=Invited
- Displays events the user has been Invited to attend.
- Example: https://yourschool.na00.force.com/events#search?cid={{Id}}&k={{TargetX_Base__Access_Key__c}}&category=Invited
- Keyword
- ?keyword=<<keyword>> directs your browser to search for specific events matching the given keywords
- Keywords must be an exact match
- Example: https://yourschool.na00.force.com/events#/calendar?category=undergraduate?type=Class%20Visit?keyword=Business+School
- Multiple keywords Example: https://yourschool.na00.force.com/events#/calendar?category=undergraduate?&type=Class%20Visit?&keyword=Business+School,Nursing
- Location
- ?location=<<location>> select a location from the location object
- Example: https://yourschool.na00.force.com/events#/calendar?location=Main%20Campus
- For details on configuring the Location lookup, see Using the Location Lookup Object.
Two locations EXAMPLE: https://yourschool.na00.force.com/events#/calendar?location=a0t12000000aB3c,a0t34000000dE5f