How to link to a folder in a document library from a sharepoint list item?

Background:

I have items in a sharepoint list. I also have a corresponding folder in the document library that contains documents about this item. I want to be able to access this folder directly from the item properties. I tried to create a search column containing the folder id, but that doesn't mean the folder is not a type and it just doesn't work. Another solution is to create a link column, but if I create it statically - after creating an alternate mapping (and, for example, navigating to a page from the Internet) it doesn't work. (so the solution posted here won't work for me).

I want to create this link from a sharepoint workflow. I have a custom action that can return any information about the desired folder (ID, URL, etc.).

Question:

How do I link a sharepoint list item to a folder in a document library?

+2


source to share


4 answers


I personally would try to avoid using folders. In many cases, I have found that they are not worth the trouble, and the key with SharePoint is not to reproduce the typical folder hierarchy you find on the file system. Get away from this clutter and do it the SharePoint way and put documents right in the list and use views and metadata to break documents into manageable groups.



However, folder is a native content type and it works great in the search column. Of course you need to reference the list item id for the folder. I just created a folder in the standard document library, added a search column to the custom list, and successfully referenced the folder in the new item. When I click on search for a folder, I am taken to a folder item that contains an "Open" link that takes me to the documents contained in the folder.

+2


source


I did a search and found a free function for easy connection. Watch a demo video at codeplex.

http://easylinkdocs.codeplex.com/



Yes - really good - BUT the original question was about how to link to documents from the LIST, and the tool you linked to does NOT. Looks pretty neat for linking between libraries though!

Mark

+1


source


Here's what works for me. Above: I have a document library with folders. In my case, each folder is a unique event and each folder has 0 or more documents. The document library is called Event Documents.

I also have my own list name named "Events". The event form has an “Event” search field that points to the “Name” field “Documents”. So the dropdown menu in the Event form shows me all the folders in the document library.

When the Event form is saved, the sharepoint designer workflow starts. The workflow has set the Event Folder field to Event Documents: URL Path, where ID is the current Event item.

On the bottom line, I have not found a way to copy the url of the parent folder other than via an SPD workflow. A workflow can grab the url (and other attributes) of a folder if it has the folder id in hand.

+1


source


Dude, I got a simple solution Out Of the box; I discovered this a while ago:

the solution is to create a column called title; Then create a new folder; then click action> edit with extended sheet> then write a title for this folder this phase is now finished and then in the search colomn you can refer to the title colomn you will find the folder there

thanks to me

0


source







All Articles