Creating a new vertical end to end


is anything wrong in this code i’m unable to see CTA label “Learn More”

I am also not able to see the CTA on my newly created Community Stories cards having forked the standard card. Please see below:

Hi there,

It looks like you both have the same issue. The formatter generateCTAFieldTypeLink() is only compatible with fields of type Call to Action (which contains a label, link and linktype).

The landing page URL field is a simple string field. You can just map the url to profile.landingPageUrl (no formatter needed!).

Thanks,
Liz

1 Like

Also, in the future, if you’re having an issue where you’re not seeing something you think you should in the frontend, I recommend using the browser developer tools and inspecting the page. If you go to the Console tab, you’ll see there’s an error that CTA doesn’t have a linkType – this should help to provide a hint. Per the last post, the landing page URL field is a simple string field and does not have a separate linkType subfield.

1 Like

I keep getting the below as marked wrong - can someone please look?

  1. Update the Community Stories JSON page with verticalKey, pageTitle, cardType and label
  2. Add a new card called communitystory and update data mappings

Hi Hannah,

For the first item on adding a Community Stories page, it looks like you still need to update the cardType. It’s currently set as standard and you’ll want it to instead reference the communitystory card you created.

On the second item, you’ve got a typo on line 24 with an extra b in subtitle.

Hi Kristy,

I’m still getting the ’ 1. Update the Community Stories JSON page with verticalKey, pageTitle, cardType and label’ error. Are you able to look at my code again?

Thanks!