Module Assessment | Yext Hitchhikers Platform
Background
The Turtlehead Tacos restaurant franchise wants you to help them build experiences for their customers using Yext Listings, Pages, and Search. Before they can power those experiences, you need to set up their structured data in the Knowledge Graph.
The Turtlehead Tacos data model needs these types of entities:
- Jobs
- Help Articles (which will eventually go on their website pages)
Turtlehead Tacos also has an active catering arm and they want to highlight their efforts on their website. The team specifically wants to store their catering packages, which will require a custom field type and a custom field.
Next, you’ll need to make sure the right fields are available on each entity type. The team also wants to store their seasonal promotions, which will require a custom field type and a custom field.
This challenge has detailed steps to complete each task. For extra help, see the previous units in this module, or these help articles:
- Enable Entity Types
- Create a Custom Field Type
- Create a Custom Field
- Edit the Field Configuration on an Entity Type
Your Challenge
First, enable the built-in entity types you’ll need. Navigate to Knowledge Graph > Configuration and click the Entity Types tile.
Enable these entity types: Jobs and Help Articles.
You need to create a custom field type and custom field in order to store catering package information on your restaurant entities. Start by creating the custom field type. Go to Knowledge Graph > Configuration and click the Field Types tile.
From the Field Types screen, click Add Custom Field Type in the upper right.
Add the following details to the new field type. Make sure you enter these exactly as shown below:
- Type Name: Catering Package
- API Name: No input needed — this will auto-populate from the field type name.
- Description: No input needed.
Add subfields to the new field type. Click Add a subfield and add four subfields with the information shown below. When you’re finished, click Save at the bottom of the screen.
- Subfield 1: Type: Single-line text; Label: “Package Name”
- Subfield 2: Type: Single-line text; Label: “Minimum Guests”
- Subfield 3: Type: Multi-line text; Label: “Description”
- Subfield 4: Type: URL; Label: “URL”
Now, you need to create the Catering Package custom field to display on your Restaurant entities, using the new custom field type. Go to Knowledge Graph > Configuration and click the Fields tile.
Click Create Custom Field in the upper right. Add the following details to the new field. Make sure you enter these exactly as shown below:
- Type: Choose Catering Package from the dropdown menu. Then, select the Make it a List checkbox.
- Field Name: Catering Package
- ID:
c_cateringPackage - Entity Type Availability: Restaurant
- Field Settings: Click to Modify the validation settings. Set the maximum list count to 3.
When you’re finished, click Save field in the lower right.
Make sure the Catering Package field is visible on the Restaurant entity type. Go back to the field presentation for the Restaurant entity type (Knowledge Graph > Configuration > Entity Types > Restaurant).
Find the Catering Packages field (hint: it will probably be in the Uncategorized Fields section at the bottom of the page). Move it to the Core Information section. You can do this by clicking and dragging, or by hovering over the field, clicking the Move To dropdown, and choosing the Core Information section.
Congrats, you’ve completed your first challenge! You enabled entity types, added a custom entity type and custom field type, and created a custom field. Keep going through the track to start creating entities.