Answers Module 13 Challenge/Assessment

Hi team!

I’m getting two errors (“Update the Community Stories JSON page with verticalKey, pageTitle, cardType and label” and “Add a new card called communitystory and update data mappings”) when I got to submit my Answers Module 13 challenge.

I’m not sure where I went wrong. I can’t seem to get the Live Preview to work either, even though it said to make sure to list the CardType as the new card (which is named “communitystory”, but that broke the Live Preview). Would you mind helping me figure out what is incorrect with my code? I’ve attached a screenshot.

Hi @Kyra_Louie,

Welcome to the community!
As you mentioned you will want to update the card for the community story vertical to reference the new card you made. This needs to be done in the config > communitystories.json file within verticalsToConfig.

  "verticalsToConfig": {
    "community_stories": { // The vertical key from your search configuration
      "label": "Community Stories", // The name of the vertical in the section header and the navigation bar
      // "verticalLimit": 15, // The result count limit for vertical search
      "universalLimit": 4, // The result count limit for universal search
      "cardType": "communitystory", // The name of the card to use - e.g. accordion, location, customcard 
      // "icon": "star", // The icon to use on the card for this vertical
      "universalSectionTemplate": "standard"
    }

Another thing that may be causing an issue: take a look at Step 9 in the module instructions again: you don’t need a formatter wrapped around the landing page URL field since it’s not a CTA Field Type – you can simply add the field on its own.

Let me know if you have any further questions!

Best,
Melissa