Dynamic links to an external website (a Google Maps example)
In this recipe, we will introduce you to the Hyperlink component.
Let's say that a report shows retailer information by products. It shows various fields like Retailer name, Contact information, City, and Postal zone. Business wants to have a link to Google Maps that will show a retailer's place on the map using the Postal zone information.
As the addresses might change in the backend, the technique needs to be dynamic to pick up the latest postal zone.
Getting ready
Create a simple list report that shows retailer information by Product lines as shown in the following screenshot:
How to do it...
In this recipe, we will add a hyperlink to the report that will open a Google map once you have clicked on it. To do this, perform the following steps:
From the Toolbox, drag a hyperlink object onto the report as a new column as shown in the following screenshot:
Change its Text property to Map. Set the URL Source Type to Report Expression and...