Hi Team,
I’m struggling with the Answers final challenge as I keep failing on the “Add custom job card to the Jobs experience” section. I’m really not sure what I’m doing wrong and have looked through other posts on this topic to no avail. I feel like I’ve followed all of the instructions and the card is working fine on the front-end, so can someone help me debug? I’ve copied my code below:
I deleted the card and re-added and am now seeing a console error for “Caused By: Error: Component type joboverride is not recognized as a valid component. You might have meant job-standard?”
Why isn’t the component valid? I’ve added it correctly as per the below screenshots and set the correct card type on the Jobs JSON.
Hi Scott,
I took a look at this – I don’t know what the error was exactly before you deleted and re-added the card, but I think there may have just been an issue with the preview system when you delete and add a card with the same name in the same session. We’re looking into that, but in the meantime, I went ahead and deleted the card, committed, hard-refreshed the page to create a new preview instance, and then re-added and it looks to be working. I also checked and your account looks to be passing all rules for the challenge so you should be good to submit!
Thanks,
Liz
Hi Liz,
Thanks so much for looking into this, appreciate the help - it was a great challenge! I’ve just submitted the challenge and it’s all gone through now!! Thanks again
I’m have a similar issue with this final challenge. The only thing that is not passing is “Add custom job card to the Jobs experience”. If I change the cardType in the json.config file to “joboverride”, I then get 2 things that are failing. The first one mentioned above and the second is “Add Jobs page to the main experience and update verticalKey, pageTitle, and cardType”. Any help would be greatly appreciated.
Hi Keith,
Took a look at your account and while you created the joboverride custom card, I am not seeing the proper changes to component.js file of the card have been made (see step 17):
-
Update CTA1 URL to: ‘http://careers.turtleheadtacos.com’
-
Update subtitle to combine the c_jobDepartment field and the employment type field so the end result on the card looks like this: “[jobDepartment] | [employmentType]“, e.g., “Marketing | Full Time”. It should look something like this: profile.c_jobDepartment + " | " + profile.employmentType
Let me know if you still have issues once you make these changes!
Micaela,
I tried it one more time and it finally worked. I was able to pass all of the modules I had issues with. Thank you very much.
Keith
1 Like