The instructions provided describe how to set up the Show State Demographics sample extension in ArcGIS Mapping for SharePoint.
• Download the extensions and upload them to the document library.
• Build the PieChart.xap file in Visual Studio.
• Add the Web Parts to the SharePoint site.
• Add the PieChart.xap file to the ClientBin on the SharePoint machine.
- Download the Web Parts
- Build .xap file
Prepare the MapCommandToWebPart_PieChart file to be a Silverlight user control.
A. Open the MapCommandToWebPart.zip folder and double-click MapCommandToWebPart.sln. The file opens in Microsoft Visual Studio.
B. In the Solution Explorer window, right-click MapCommandToWebPart_PieChart and select Build.
C. The MapCommandToWebPart_PieChart.xap file is created in a new Bin folder.
If the .xap file is saved in the Web Server folder, for example the 'wwwroot' folder in IIS, the URL is
http://<SharePoint server name>/MapCommandToWebPart_PieChart.xap
- Make the extension available to the Map Web Part
A. In the SharePoint edit mode, navigate to the Site Actions menu and select Site Settings.
B. Under the ArcGIS Mapping Administration heading, click Extensions.
C. The Upload Document dialog box appears. Click the Browse button to open the Choose file dialog box. Locate and select MapCommandToWebPart_Command.xap, then click Open.
D. The file is added to the library.
For more information visit ArcGIS Mapping for SharePoint - Configuring Extensions
- Add the Silverlight Web Part
A. In the SharePoint edit mode, navigate to the Site Actions menu and select Edit Page.
B. Click Insert on the Edit Tools ribbon and select Web Part.
C. Under Web Parts, click Silverlight Web Part and then click the Add button.
D. Enter the URL of the Pie Chart Silverlight user control (refer to Step 2).
- Add the Silverlight Web Part to the 'Web Server Extensions\14' folder on the SharePoint machine
A. Open the folder that contains the MapCommandToWebPart_PieChart.xap file.
B. Right-click the MapCommandToWebPart_PieChart.xap and select Copy.
C. Naviate to C: > Program Files > Common Files > Microsoft Shared > Web Server Extensions > 14 > TEMPLATE > LAYOUTS > ClientBin.
D. Right-click in the folder and select Paste.
E. The MapCommandToWebPart_PieChart.xap is added to the folder.
Default file location:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin
- The Show State Demographics Extension is added to SharePoint
The Demographic Data Command tool is added to the ArcGIS Map Web Part ribbon, and the Pie Chart is added to the SharePoint display.