Most Interface templates already include a Send to Phone link. This link allows users to send a SMS text message which contains the location details. For example, the Rich Media template shows the send to phone link as an Image overlay as shown below:
If you do not have an image for each location, you can drag the Send to Phone into the Body container and provide some link text for Send to Phone as shown:
Clicking the Send to Phone link displays a modal dialog that asks the user for their phone number and it then sends a text message to the entered phone number.
To change the content delivered to the user, click Edit Template as shown below:
This allows you to provide a Twig Template to specify the content the user receives.
For location attributes that may include special characters, Twig's default is to convert those to HTML entities. To preseve the values exactly as in the location record add the | raw modifier as shown below:
Mobile Experience
On devices that support the naviator.share API, MetaLocator uses the native OS "Share" dialog instead of prompting the user to enter a phone number. This allows iOS and Android users to quickly send to a number of platforms, including SMS.