Hello!
I’m getting stuck on “Add Jobs page to the main experience”. I’ve checked, and it seems like I’ve done everything correctly and that my vertical and experience keys match but I’m still getting this error.
Please let me know if I’ve missed anything.
Thank you so much!!
(sandbox id: 2518035)
-Trish
Hi Trish,
You are sooo close!
The last thing you need to do is to update the verticalKey in the verticalsToConfig object on line 51 of your jobs.json
file.
You’ll want to make sure this matches the verticalKey from the Search Configuration, just like you have in line 1. It can be easy to miss if you’re going through things quickly so I would recommend:
-
Always fill out the vertical key for lines 1 and 51 at the same time as the first thing you do in the file. In fact, if you select the <REPLACE ME>
and right-click you’ll have the option to “replace all occurrences” which is a good trick! (see below for a quick gif of what I mean).
-
Always use the Live Preview as a way of not just checking your work visually but also making sure your experience builds properly. If you Create Preview on your site, make an update and look at the Console in the Code Editor you should see an error like this:
This is your best indication that something has “gone wrong” in your jobs file!
Thanks!
Liz