This is an archive related to a previous version of Esri Maps for SharePoint. If you need the current version go to http://doc.arcgis.com/en/maps-for-sharepoint/.
Layouts allow you to change the look and feel of the Map Web Part. You can create your own custom layout for your Map Web Part by editing the DefaultLayout.xaml file in the Esri Maps Configuration Files document library.
The DefaultLayout.xaml file has the following restrictions:
You can also edit the DefaultLayout.xaml file to include custom controls such as a Chart control, overview map, and search text box. If you create a layout with a custom control, the .xap file containing the custom control's implementation needs to be added to the ArcGIS Mapping Extensions library.
The Map Web Part and ArcGIS Viewer for Silverlight share a common layout framework; therefore, you can adapt the content of any of the Viewer layouts into DefaultLayout.xaml, given the restrictions listed above.
The following steps show how to use the ArcGIS Viewer for Silverlight Visual Studio template to create a custom layout. First, create a new project with the Viewer template, and then customize one of the existing layouts as desired. For more information on the Viewer template, see Visual Studio template.
The Add-in solution loads with three projects: one containing add-in code, one containing layouts, and one containing a Viewer website. Each of these projects contains code and examples to help you get started creating custom tools, behaviors, and layouts.
If there are any warnings, you may need to first compile the solution.
Once you have created a new Visual Studio project using the ArcGIS Viewer for Silverlight Project as described above, complete the following steps to create a custom layout: