Address and CTA fields not appearing

Hey Team! I am in the process of creating a “Branch Managers” vertical using a custom entity type, and I am not able to get the address and “Learn More” CTA to populate on my live preview for “Cyndel Brown” for example. I couldn’t find the CTA element when inspecting the live preview so not sure what the issue is! I forked the branchmanagers-override card to pull in this data.

https://www.yext.com/s/3109278/sitesgit/r/2399/b/jambo-migration/files/?b=3109278

Hi Sean,

The address is a very complex field! Try wrapping it in the address formatter:
address: Formatter.address(profile),

I don’t think it can print neatly without that because the address field is actually a set of several different fields (address 1, city, region, etc).

Additionally, it looks like you forked the professional-standard card to do this. I would recommend starting over and forking the professional-location card. If you just add address in the component.js file as you’ve done here, you’ll need to also modify the layout of the card to include address which can get tricky. The professional-location card already includes this though!

For the CTA, is the “Learn More” on the profile? It doesn’t look like you’re hardcoding it in the CTA1.label. This will probably resolve itself if you do the above though!

Let us know if you need anything else.

Thanks!
Liz