Hot answers tagged document
34
Just moved (drag & drop) a file in Explorer View from one document library to another, and it did retain previous versions!
Obviously both libraries need to have versioning enabled.
Try it yourself.
EDIT: note that it ONLY retains the versions if you MOVE the files. It does not do so when you perform a COPY!
8
Go to site actions -> Manage content and structure. At the first page there is a list of the files with a "view" in the toolbar on the right section. Drop this down and choose "Checked out to me".
This will list all the files, you can then check the checkbox to select all items and in the actions drop down choose check in.
6
They are stored in the Content Database on SQL Server. There are provisions to offload the files to the file system and third party tools to assist with it.
6
I would take a look at these two links:
http://ktskumar.wordpress.com/2009/03/10/sharepoint-databases/
http://grounding.co.za/blogs/neil/archive/2008/08/16/sql-databases-used-in-sharepoint.aspx
They go over the various databases that SharePoint has under the hood and what their purposes are.
That being said... I would recommend staying away from ...
5
If you prefer not to deploy any of your own custom code to your WFEs then you may want to consider a simple SharePoint Designer workflow as well.
Have a look at this article that describes something similar and can easily be adapted (it renames a file from a workflow when it contains sensitive information in the file name).
Providing feedback to the ...
4
You can use SharePoint Designer to navigate to the site / Document library. Select all files that need checking in and select Check-in from the Edit menu.
Alternatively use PowerShell as described in this post.
4
Create a view in the document library with all the desired columns, set a filter Name Begins with MyFile and set the folder options to show all files without folders. If you have many thousands of documents, be sure to page the results through the view configuration. When done, click OK to save it and distribute that URL and it will show the contents ...
4
Not to advertise or something but i've had excellent results with the following product SharePoint Documentation Toolkit (http://www.spdockit.com) which does the whole farm if needed to.
Beyond this, manually you could simply rely on SharePoint Designer for structure and depending on what exactly "documenting" means, you could envision looking at:
Site ...
4
SharePoint Search will return the url to the document in Path when it thinks a file is a document (isDocument == 1), but if the file isn't a recognized file type SharePoint will treat it as a list item and return the url of the display form in Path.
You can add support for more file types by adding IFilters (see here for PDF: How to configure PDF iFilter ...
3
Last year I added functionality to Chris O'Brien's SharePoint Content Deployment Wizard to copy documents from one library to another. I'm pretty sure I tested that versioning copied over as well.
Have a try of that and if you have any problems using it please leave me a comment here and I'll update my answer with more info.
3
Solution
ASP.net Ajax 1.0 web.config settings messed up check out. Particularly this line in httpHandlers section:
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
After removing this line it ...
3
You're not describing what performance problems you are seeing. Start with updating your question with that.
There are no magical SQL maintenance jobs that will shrink your documents etc, you have to design your SharePoint farm in the correct way to handle large amounts of data.
Use Site Collections to be able to spread the data over multiple content ...
3
Consider using Chris O'Brien's Sharepoint Content Deployment Wizard: http://www.sharepointnutsandbolts.com/2007/12/introducing-sharepoint-content.html
It can be found on CodePlex.
3
Yes you could enable audit policies, but another option is to take advantage of the Usage and Health service that collection information into a seperate database. This is in fact the only database that you are allowed to do selects from directly.
Read more on technet:
http://technet.microsoft.com/en-us/library/ee748636.aspx#section3
3
I dont think you can do that OOTB but it should be possibe by using an event reciever on your document library that listens to ItemCheckingOut event.
Documents need to be checked out before you can edit them and if you listen to the ItemCheckingOut event you can cancel the event and show a message to the user that says the document cannot be edited.
...
3
For SP2010 you can find it as below
Site Actions -> Content and structure -> Change View (Checked Out to Me) -> Select all files using checkbox and click on Actions Menu. There's option to checkin.
Thanks,
Ashish Chotalia
3
The closest you can get with default functionality is to impersonate a user and make a search with the user whose "linked" files you're interested in listing.
Considering it is practically not possible to impersonate as each user, I would start off from this blog article and modify the code to be cross site collection and across all web apps.
You could ...
3
Check out this post - SharePoint public-facing website and Microsoft Office documents - to disable client integration and remove the OPTIONS verb from the web config.
3
The versioning in SharePoint is tracking Major (published with everyone, everything having 1.0, 2.0, etc.) and/or Minor (X.1, X.2, etc.). According to how you have setup Versioning via the List/Library Settings you would have Major or Major and Minor.
In both cases when you limit versions, basically the OLDEST are deleted, so you would 0.1, 0.2, 0.3 as ...
2
I have seen this happen when you have some Office 2007 products installed along with some Office 2003 products. This may or may not be your issue, but I have seen it fairly frequently. There is a KB article on it from Microsoft, along with a hotfix that must be run on the machine experiencing the issue: http://support.microsoft.com/kb/938888.
Without ...
2
I know of no OOTB way to do this, so you would have to code this functionality yourself.
I know that Lars Fastrup has created a tool that does just what you want: CopyMove for SharePoint
It also has a web service API.
hth
Anders Rask
2
I have found that restoring a previous version will create a new version with information from the 'selected' version. It will not 'restore' and delete the 'current' version. IE:
Version 1
Version 2
Version 3
If you restore version 1, it will become version 4, all 4 version will be available afterwards.
2
make sure that you use the SPFile object to get the Versions property from like below. Restoring an SPListItem will only restore the metadata not the binary document.
SPListItem item = ...
SPFile file = item.File;
int versionCount = file.Versions.Count;
if (versionCount > 0){
file.Versions.Restore(1);
}
Cheers
/WW
2
As Anders mentions in his answer, my company SharePoint Products has a tool named CopyMove for just that. It is free to use for 1 named user - only organizations that need to offer the tool to their end-users will need to purchase a license.
The product can copy/move documents, list items and folders with no loss of metadata, version history and ...
2
I know its not what you ask for, but for completeness i want to add that you can deny files by extension in Central Administration if you are using MOSS.
Manage blocked file types (Office SharePoint Server)
Anders Rask
2
a way to move documents through doc lib is to use the Content Deployment API.
using objects like SPExport and SPImport
the copy, move actions of the content site and structure (sitemanagement.aspx) are performed using this API.
and you can set that you want to keep the versions!
2
Call me biased, but the company I work for has a very flexible SharePoint PDF Conversion solution that you can probably use to achieve what you are after.
I'll keep the marketing babble to a minimum, just visit this page for more information
Your requirement is very specific and it is unlikely that anyone will support that functionality in a generic ...
2
Thats a very high level list of requirements so I can only give you some pointers :-
Free only if you're using internally and already have Client CALS (How Much does SharePoint Cost)
SQL Server Express 2008 R2 has a 10GB limit - beyond that you have to look at remote blob storage or a full version of SQL Server (cost implications)
Document workflow - ...
Only top voted, non community-wiki answers of a minimum length are eligible
