SharePoint 2010 Can i get back my deleted document?
That never happens. Nobody would delete a document which he or she might could need anytime again. There is no reason to care about the deletion of documents and / or elements. Never ever would one of your customers come to you with the question: “Can i get back my deleted documents?”
Exactly, the question is: When is a document really deleted? And for who is the document deleted?
Deletion at frontend
Ok, now i am the normal user with normal rights. I delete a whole list cause i did some mistakes. I go to the list settings and click on delete list.
What happens?
The list is now in the recycle bin (if feature is activated, which is normally). You can recover this list as normal user.
Now i empty the recycle bin. The list dissappears from the recycle bin and i cannot recover this list again. But i need this list really! What can i do?
Help for recovering
In this moment you should be happy, if you know who is your site collection admin and be friendly to him. Because in the site collection administration, there is also a recycle bin. In this recycle bin you now find your list!!! So your site collection administrator is the person who can recover your list.
Below Site Actions – Site Settings – Site Collection Administration you’ll find the recycle bin. It gives you two views on the left pane:
- End User Recycle Bin items
- Deleted from end user recycle bin
The first one contains the items which are in the recycle bin at the front end. The second is the interesting one for recovering: It contains all items which are deleted from the frontend recycle bin.
That means: If you delete an item and empty the recycle bin, the item is still available in the recycle bin of the site collection. But this one can only be accessed by the site collection administrator. That is really a nice feature and is also called the second stage Recycle bin.
Last thing: It only works if you have the right settings at the central administration in the settings of the web application:
..:: I LIKE SHAREPOINT ::..
SharePoint 2010: How to create a custom empty application page
You might be wondered what interesting requests you can get. One request i got was to create an application page which does not show the ribbon, the navigation, just nothing but an upload form for a SharePoint document library. The user should not see that he is uploading a file to a SharePoint library and that he is not working on SharePoint.
Sounds easy, but the important thing was to be able to use SharePoint Context and its features in Code. So today i show you how to create this application page which has nothing inside but the possibility to use all SharePoint features.
Step 1: Add an application page to your project into the layouts folder
I name it creazyPage.aspx.
Step 2: Customize the application page
There are some important to do’s:
At first go to your creazyPage.aspx and delete all Placeholders.
That means the following Placeholders: PageHead, Main, PageTitle, PageTitleInTitleArea.
Then delete the DynamicMasterPageFile in the <%@ Page Tag.
Then add the following line before the <%@ Page Tag:
< %@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
You are almost ready. If you deploy now your solution you should get a white page. So let’s proceed.
Now add your content. Start with
<head> <title>creazyPage</title> </head> <body> <form id="creazyPage" runat="server"> //[[ Here you can add your code like asp Controls or other Controls]] </form> </body>
Step 3: Deploy your solution
You solution should now look like this:
A cool trick:
Now if you add asp-Controls you see that you won’t get suggestions which controls are available. If you are smart, then you create your application page in the normal way till it is working as you want it to work . After that you just do the necessary changes described in step 2 and you’re done.
..:: I LIKE SHAREPOINT ::..




