I am trying to use the show on map function from the contact section page and add it to the actions on the contact record page.
I have added the function to the page schema and added it to the actions menu. However, when I load the page, the button works and displays the map but it doesn't display the caption string on the button.
Though oddly, when I reload the page, the string appears but the map then won't load.
Caption is not displayed since once the edit page is reviewed in combined mode then localizable values are being received from the section schema. To resolve this problem you need to:
1) Add the same localizable value to the ContactSectionV2 schema as on the ContactPageV2 schema
2) Add this part of code to the contact page schema: