Browse by Tags

All Tags » Document Library (RSS)

Send To->Email a Link doesn’t work

In SharePoint 2007’s Document library, the Send To->Email a Link context menu will open your local email client and put the link of that document in the email body. However, it seems URL encode the whole URL, instead of just the relative path. So the URL will end up like this: http://subdomain%2Ecompany%2Ecom/Documents/folder/subfolder/My%20File.doc Basically, the dot (.) in [...] Mirrored on SharePoint Blogs Posted on SharePoint Blogs...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under: ,

Massive operations in the same WSS/MOSS Document Library/List - Be cautious!!!

Hi, We have a custom function that performs a MOVE operation either at file-level or at folder level. When we use the function on a massive scale and/or on a set of folders that have many sub-folders and documents, we encounter some situations where the documents could not be moved (since behind the scene, a move is basically a add followed by a delete), there is a bug in the way WSS/MOSS allocate the internal unique ID for a new document/item and therefore, the MOVE operation can not be completed successfully. Sometimes, the ID obtained by the internal stored procedure of WSS returns an ID that is already allocated (i.e., the ID being retutrned by the stored procedure is smaller than the latest ID allocated for this document library) and therefore, the add portion of the MOVE cannot be completed. From this point forward, you cannot add any new document in the library and worst, since the MOVE operation was not completed, you end up with duplicate documents. We believe that in our case, since we support multiple MOVE operations against the same set of folders, this is what has stress the ID generation logic to a point where the bug shows itself. We probably have to rework our logic but even then, there is still a bug with the ID generation and Microsoft has recognized it. When we look at our database, the docID increment is not linear; it is exponential and therefore, for a library containing around 50000 documents, the current highest docID is at 1.9 billion, near the SQL limit...
Posted by SharePoint Blogs
Filed under: , ,

Content Types: Part 2 - Creation and Association of Workflows and Document Templates (Republish)

*Had to Republish this as I had some issues this week and accidently deleted it* So last time we went over the basics of what a Content Type is. In the most basic context, a Content Type is a grouping of Meta Data. This time around we are going to look at the basics of creating a Content Type, associating a document template with it as well as associating a workflow with it. We will then also look at enabling content types within your libraries. Creating a content type is actually pretty simple. In this article we are focusing on operations that can be done from within the browser. Later articles will cover the creation of content types within Visual Studio. The simplest way to create a content type is to do via the site settings page. For this you need to be the site admin. Depending on weather you have WSSv3 (Windows SharePoint Services Version 3) or MOSS (Microsoft Office SharePoint Server) installed your menus will be slightly different. To start, from your site click the site actions menu. From site actions you will have either an option that says Site Settings(On a Site Collection or Top Level Site) or an option that says modify all site settings (On a subsite). Choose Modify All Site Settings. If your menu says simply Site Settings, hover over that and choose Modify All Site Settings from the fly out menu. Figure 1. Site Actions Menu Once you choose site settings you have many options on the Site Settings page. You want to look under the “Galleries” section and find “Site...

SharePoint 2007 and Outlook 2007 Email

Does anyway know of the list of all fields that can be passed between SharePoint 2007 and Outlook 2007 for Email. I need them for Discussion and Document Library. I don't like Document Library as much as Discussions because you can't copy and paste from Outlook 2007 where as with Discussions you can copy paste right from Outlook 2007 but I seem to loss some fields I'd like to get back. Working on an Email Archive solution. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Automatically populate a field in a document library using SP Designer Workflow

Today I had a client request to automatically generate a Sequence Number for a document when it gets added to a library. The ID field could be used to serve this function, but they wanted the sequence to start at 1000 instead of 1. To achieve this, I decided to use a workflow in Designer to prove out the concept. I used a variable to add 1000 to the ID field, and assigned that value to the Sequence Number (SN) field I created. There was a problem, however. Because the property sheet for the document comes up right away when you upload a document, the SN had not been generated yet. When I tried to save the changes to the properties, I got an error because the underlying item had been changed. This was very disappointing. To work around this, I put a five minute pause into the workflow, right before the SN gets generated. This allows the user to finish filling out the properties, then the SN gets added when the timer expires. If anyone else knows of another way to handle this, other than code, please let me know. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

EndUserSharePoint.com: Update on creating a desktop shortcut to a SharePoint library

In a previous post, I outlined the steps for creating a desktop shortcut so that you could drag and drop files to and from a document library. This is one of the easiest ways to get End User buy in when first rolling out SharePoint. While going through Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

<link rel=File-List href=”[your file name]_files/filelist.xml”>

This isn’t actually for SharePoint though. When Microsoft Office saves file as HTML, it puts all real files under xxx_files. More on here: http://sharemypoint.wordpress.com/tag/_files/ When you try to rename/move/delete the root file, the associated _files folder will be changed accordingly. The key is in this line in the root file <link rel=File-List href=”[your file name]_files/filelist.xml”> If this line [...] Mirrored on SharePoint Blogs Posted on SharePoint Blogs...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under: ,

Followup: Can I combine a document library with document links?

In a post from last week, Sue asked if there was a way to combine a document library and links to external documents. There was a nice discussion that culminated in the following screencast showing how simple it is to do: Mirrored on SharePoint Blogs Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

How to open an Office document in the document library without asking for username and password?

Even if you have the website open for anonymous access and anonymous users can access your documents in a document library, opening an office document will always require entering username and password. You can open the document, if you cancel the request Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Can I Map a Document Library as a Mapped Drive?

Chris Quick and I had this discussion this morning about mapping a document library as a mapped drive: Chris: “If you go to the library you wish to link and choose Actions -> Open in Windows Explorer you will see something like a network share Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Tips and Tricks: Access document libraries from your local Quick Launch

Bob Fox is moving his blog to another location, so I was flipping through the archive section on his old site when I ran across a screencast called SP Administrators Desktop Shortcuts. Really simple, easy stuff: add an application to your environment Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Screencasts - Create and Configure the Main Document Library

The Document Management Center screencast series continues with seven short clips, walking through the process of creating and configuring a document library. They are posted in the Video On-Demand page in sequencial order. The subjects include creating Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Thumbnail and Preview in Document Library

Problem: I need to add a thumbnail and preview to a photo's folder in a document library. I can do this with a image web part and add a connector from the photo list to the image web part. However, I am unable to find a way to shrink the photo if larger then the image web part if I force the web part to use pixel size control and not auto then I have scroll bars bottom and right. I check the HTML code and there don't seem to be any preexisting flags to stop these scrollbars. I would rather have all the options I had in the picture library. Because this client deals with contractors and clients that are not very tech savvy (Don't we all) I am forced to put all files into a document library and am unable to have a picture library because they are in different root folders. This seem like an over site from MS why can't I have Picture and Document folders in the sub off the main root link. Attached are some photos that should show what I'm talking about and how we are putting all these folders in the same place. What I've tried: I tried to copy the views from a Picture Library to the views folder of a document library to no avail plus none of the slide show or the all picture options didn't even showed up. Whatever I do I will have 20 to 30 of these sites, I need the solution to template. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Office/SharePoint Bug When Using Encrypted Documents

Haven’t been able to find much information about this anomaly, so I thought I’d post it.. Scenario: Team site with document libraries. They all use custom content types with required fields including the document’s ‘Title’ property. Cause: Saving and working with encrypted (password protected) office documents. Problem: When users initially save documents to the document library, encrypted [...] Mirrored on SharePoint Blogs Posted on SharePoint Blogs...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Deleting Document Library Folders with Content Types is Dangerous

Well, only in certain situations. I was pruning a couple of Document Libraries of empty folders today and noticed either an anomaly or feature that should make you cringe. I opened the Document Library in Explorer View so I could select multiple folders to check the size of them via right-click > properties. It showed [...] Mirrored on SharePoint Blogs Posted on SharePoint Blogs...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks