How to Configure Virtual Map View in SharePoint 2013 – Part Four

Part Four: Getting Data from the SQL Server.

 

SharePoint allows organizations to quickly build a shared database of information through the use of lists. SharePoint lists can be used to display information in various formats and can be tailored for use by different sets of users. These display formats include standard lists, calendars, and even other custom display types such as our Gantt chart view.

One of the display formats that SharePoint is missing out-of-the-box is a Map View for displaying geographic data. For example, displaying address fields in a contact list or a customer list on a map that can be used to manage sales and marketing efforts.

The Virtual Map View product allows users to display data points as markers in a Google map or Microsoft Bing map using a SharePoint List or SQL table or view as the data source.

Challenge: Your Company has 1000 employees. Do you want to control their locations? How do you
display all of them on Virtual Map View web part?

Note: Virtual Map View supports getting data from the following SQL server versions:

  • SQL Server 2005
  • SQL Server 2008
  • SQL Server 2012
  • SQL Server 2014

In this article, I’ll give an example of how to get data from SQL server:

1.       Let’s create a Table/View in Database.

Make sure that the table has the following four columns:

  • Country,
  • Region,
  • Address,
  • City.

See the picture below:

2.       Configure Virtual Map View Web Part: Edit Tool Pane

  • In the
    Select Data Source
    section: Select SQL Server Table or View option
  • In Select Table or View to Display in Map section
  • Enter Sever Name
  • Select Database
  • Select Table or View to Display in Map
  • In Geocoding Section: Select four columns: Address, City, State, Country – for each
    dropdown list

  • In Select Map to Display section: Select 1 in 2 options such as Google Map or Bing Map
  • In the Display Options section
  • Marker Type: There are a lot of types for Marker; select one of them

  • Use Multiple Markers: Please see Part One: How to Use Multiple Markers
  • Maker Tab title: if we select the Show tabs checkbox, the textbox will be enabled for
    inputting titles onto it. Display Columns list box will show 3 tabs

  • Show tabs checkbox:
  • If you uncheck Show tabs checkbox, it displays a hyperlink for the tabs when you hover the mouse over the marker

  •  If you check on the Show tabs checkbox, it displays the button for the tabs when you hover the mouse over the marker

  •  Column to display in Navigation pane: Showing data of the column on the left pane

Click Apply and OK.

If you select the Google Maps radio button, Map View will display like this…

When clicking on the address hyperlink on the left pane, you will see all information displayed on the Tab.

If you select the Bing Maps radio button, Map View will display like this…

SharePoint Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365

SharePoint

Top SharePoint Online Products

Experience greater power and savings by bundling our SharePoint apps and cloud parts.


Calendar Plus


Chart Plus


Knowledge Base


Project Management Central


Simple List Search

 

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019 – Classic Pages Only

SharePoint

Top On-Premises Only Products

Experience greater power and savings by bundling our SharePoint apps and web parts.


Calendar Plus


Data Viewer


Password Change


Password Expiration


Password Reset

 

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!