Overview
Component type: Content Fragment
Content Fragment name: Event Cards
Authors who can use: any
Templates/page types that can use Content Fragment: must be added in configured Search Hub
Required or optional: optional
How to add Event Cards to a Search Hub
1. The Author can open the Content Fragments from the assets view or on the main navigation via Content Fragments.
2. Navigate to the Agency specific folder where the content fragment should be created.
3. Click create Content Fragment
a. Select the fragment model (for this example, Event Card).
b. Click Next and add the title of the Content Fragment. This title is only used within AEM and must be unique. Once added, click create.
4. Author the fields that need to display on the search result card. Not all fields are required. Required fields are bolded.
a. Event Type- Required. This is a tag and is used to identify the Search Hub.
b. Event Title- Required display title
c. Short Description
d. Display Event Time
i. If checked, display date and time. If unchecked, only display date
e. Event Start Date - Use the calendar icon to select date and time
f. Event End Date
g. Repeated Event - Check if the event repeats
i. Select days for repeated event - Check days of the week during which the event repeats
ii. Select months for repeated event - Check months during which the event repeats
h. Event Series
i. Category Tags - This is the field for all filter tags such as Agency and Topics. All tags should be added here.
j. Location Type Tag – A selection list of event locations: In person, Hybrid, etc
k. Primary Link Label
l. Primary Link- Internal, Primary Link- External
i. Can only use one, not both, for the first link display
m. Contact Name
n. Contact Label
o. Address Line 1,2,3
p. City - Text field
q. County - Tag field
r. State - Tag field
s. Zip Code – Text field.
t. Fee – Text field
u. Phone number- Format phone numbers as 555-867-5309
v. TTY Phone Number
w. Email
x. Secondary Link Label
y. Secondary Link- Internal, Secondary Link- External
i. Can only use one, not both, for the second link display
z. Long Description- Rich Text Editor field
aa. Image- Add link to image in Assets. Image will display at 220 px on the card.
Other tips
- Preview Event Cards in the Stage environment. In Stage, author the Content Fragment, publish, and check that it displays correctly in the Stage page's Search Hub.
- Not all fields are required in the Content Fragment.
- Contact Sapient if the following is needed:
- New tags.
- New Search Hub.