ArcGIS Mapping for Sharepoint

= Deployment =

Manual Deployment
1.) Using stsadm or PowerShell, add the esri.arcgis.mapping.sharepoint.wsp to the SharePoint farm. Using stsadm, the command is: stsadm –o addsolution –filename

2.) From SharePoint Central Admin, PowerShell, or stsadm, deploy the esri.arcgis.mapping.sharepoint.wsp to all web applications requiring ArcGIS for SharePoint functionality.

3.) On all site collections requiring ArcGIS for SharePoint functionality, activate the ArcGIS for SharePoint feature. This can be done through the site settings page, PowerShell, or the stsadm utility.

Manual Undeployment
1.)	Deactivate the ArcGIS for SharePoint feature on all site collections to which it was deployed. This can be done from the Site Settings page of each site collection, via PowerShell, or through the stsadm command line utility.

2.)	Uninstall the ArcGIS for SharePoint feature from all site collections to which it was deployed. This needs to be done from PowerShell or the stsadm command line utility

3.)	Retract the esri.arcgis.mapping.sharepoint.wsp solution. This can be done from Central Admin, PowerShell, or stsadm.  If retraction fails in Central Admin, it will need to be done from PowerShell or stsadm, which can force the retraction.

4.)	Make sure that the \Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ESRI.ArcGIS.Mapping.SharePoint directory either no longer exists or is empty. If it is not, delete it.  This needs to be done on all web front-end (WFE) servers.

5.)	Make sure that the ESRI.ArcGIS.Client.* and ESRI.ArcGIS.Mapping.* assemblies have been uninstalled from the GAC. If they have not been, uninstall them.  Again, on all WFE servers. If there are failures at any point while performing a SharePoint operation, the most recent log file under \Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LOGS may provide further information.

SSL With Sharepoint Web Part Possible Solution
It should read something like this:

Original:

  http://www.arcgis.com/sharing/ https://www.arcgis.com/sharing/ http://www.arcgis.com/sharing/tools/print   

New:

  https://www.arcgis.com/sharing/</Sharing> https://www.arcgis.com/sharing/</Secure> https://www.arcgis.com/sharing/tools/print</Print> </ProxyServer> </ProxyServerEncoded> </Configuration>

SharePoint 2010 Management Shell - (PowerShell)
When troubleshooting gets overly complicated, use SharePoint's built in PowerShell (or Management Shell). Launch SharePoint 2010 Management Shell from the Start Menu on the machine which SharePoint has been installed. Remember to do this with Administrative Privileges (run as administrator).

Identify what Web Applications are setup to run Sharepoint

Sample code:

Sample result:

Identify SharePoint product information and output the details to a text file

Sample Code:

Sample Result:

Check in C:\Temp for a text file named myDevelopmentEnvironment.txt containing ProductName information.

Identify available site collections where ArcGIS for SharePoint can be installed

Sample Code:

Sample Result:

Backup a Site Collection before troubleshooting

Sample code:

Sample code:

Create a new SharePoint Site Collection for testing purposes

Remove / Retract / Uninstall the ArcGIS for Sharepoint Web Part

Install ArcGIS for SharePoint using PowerShell Commands.

There are several steps to install ArcGIS for SharePoint using PowerShell. Run each command in this section from top down. Also make sure SharePoint 2010 Administration service is running.

Sample code:

Sample result:

Sample code:

Sample code: