Showing posts with label Delete. Show all posts
Showing posts with label Delete. Show all posts

02 September, 2013

Copy/Move a document between Web Applications + Site Collections + subsites - SharePoint 2010

Lists and Libraries are being extensively used in SharePoint as it’s a collaboration product. Common functionalities that we do on regular basis includes create document libraries and lists, uploading documents, create items, manage permissions at the library level / list level / Item level , manage versions and so many things…

Today’s article is based on the same as how to transfer/copy/move items between web applications/site collections/subsites.

Note: Make sure this feature ‘SharePoint Server Publishing Infrastructure’ should be activated before applying the following steps.

How to check this:
1)   Open the site
2)   Site actions
3)   Site settings
4)   Site collection administration
5)   Site collection features
6)   Activate this feature ‘SharePoint Server Publishing Infrastructure’

Note: If you can’t see the site collection administration then it’s because of permissions, you should be listed as ‘site collection administrator’ to view that option. If you don’t have rights then please contact the assigned site collection administrators to activate that feature.

Coming back to the main article where we are going to see the actual process:

Would like to explain this by means of example:

Suppose there are two sites: site A and site B

Site A: Root site and site B: subsite
1)   Open the site A
2)   Site actions
3)   Site settings
4)   Site administration
5)   Content and structure
6)   Select the list or document library from the left hand side- click on it.
7)   Associated items will be reflected in the right hand side pane.
8)   Actions
9)   You will get the options as Move, copy and delete.


As soon as you will click on copy/move, you will get another dialogue box to select the destination site/ site B + library/list.




Select it and click OK

Items will be successfully moved to destination house.

Note: If you have any confusion regarding this process then i would request you to select the COPY option as it will not completely rid-off the source library items and only replicate it to the destination library. Once items will be successfully moved then you can delete the source library/list as per your requirements.


If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.

08 May, 2012

Cannot delete a Corrupted lookup Column from the list

Issue : Just Today i came accross a issue in Which the User had a List with many columns and One of the column Which was a look up column was corrupted

used to give a error "Unknown Error"

We were not able to Delete or edit the column

After a lot of research we found a work around to delete the Column

Checked the Url and found the below

/_layouts/FldEditex.aspx?List=%7B37920121%2D19B2%2D4C77%2D92FF%2D8B3E07853114%7D&Field=Product%5Fx0020%5FDescription

Which is a wrong url it should be

/_layouts/FldEdit.aspx?List=%7B37920121%2D19B2%2D4C77%2D92FF%2D8B3E07853114%7D&Field=Product%5Fx0020%5FDescription

Just remove ex from FldEditex.aspx => FldEdit.aspx

And you will be able to get to the inside of the column where you can edit or Delete the column .

Cause - Unknown

06 May, 2012

Sharepoint 2010 - Delete A service application using Powershell

Some times You will find that you are not able to Delete the Service Application using the GUI . That`s the time when I have used the Powershell Command which works almost 100 % and quick .

Before you delete a service application, verify that its removal will not adversely affect users. As a best practice, you should ensure that no Web applications are currently consuming the service application that you are going to delete

When you delete a service application, you have the option to also delete the service application database (not all service applications have databases).

To delete a service application by using Windows PowerShell

  • On the Start menu, click All Programs.
  • Click Microsoft SharePoint 2010 Products.
  • Click SharePoint 2010 Management Shell.
  • At the Windows PowerShell command prompt, type the following commands.
To retrieve the service application that you want to delete, type the following command

$spapp = Get-SPServiceApplication -Name "<Service application display name>"

Where <Service application display name> is the display name of the service application that you want to delete.

The service application information will be stored in the $spapp variable Or You can also UseGet-SPServiceApplication cmdlet to list all service applications

To delete the selected service application, run one of the following commands. In both cases, you are prompted to confirm the deletion.

To delete the selected service application without removing the service application database, type the following command:

Remove-SPServiceApplication $spapp

To delete the selected service application and also delete the service application database, type the following command:

Remove-SPServiceApplication $spapp -RemoveData

If you Know the ID of the service application Then you can Also Use

Remove-SPServiceApplication -Identity <ID> -Remove Data