.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

custom columns in document libraries

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :SharePoint
Hi I created two custom columns "Fromdate, Todate" in document librarie, and assigned a document to other user. when other user logIn, in the tasks list, select the item and click on "Edit item" edit form is opened, but i could not found Columns "Fromdate, Todate", where did I went wrong! I created custom workflow in VS2005(no forms are used)

View Complete Post

More Related Resource Links

Large document libraries with a custom user interface


We recently migrated our document management system to SharePoint (WSS 3.0) and I adapted my VB6 client application to search for and retrieve a list of documents from this new SharePoint library using the Lists web service. Although the total number of documents in this library is 90,000 at one site and over 145,000 at another, my VB6 application never retrieves more than 600-700 documents at a time. From reading white papers such as "Working with Large Lists in Office SharePoint Server 2007" (http://go.microsoft.com/fwlink/?LinkId=95450&clcid=0x409), it appears that if my custom user interface limits the number of items returned in a search of these large lists, that it may not be necessary to put these documents into folders. However, our current scanning software, KnowledgeLake Capture, by default places newly scanned documents into folders based on the year, month, day and hour, which means that these documents are placed in nested folders 4 levels deep.

There are also some 20 metadata fields on these document libraries that allow us to filter these document libraries so that search results will in most cases be limited to a few hundred items.

We acquired new servers (Windows Server 2008 with SQL Server 2008) to host our SharePoint libraries and we are running WSS 3.0 S

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

Problems with Custom List Forms in Document Libraries

I have setup several custom list forms for various lists with no issues however when it comes to document libraries a few things dont seem to work correctly. I create a copy of the editform.aspx --> Hide existing web part --> Insert custom list form (edit) --> restyle the fields etc. save it as edit.aspx confirm it is being used as the default form in the supporting files section. Great it appears to work whenever someone uploads a document or clicks edit. However... that is only th first impressions as there are a few issues that crop up at this time.  Clicking the edit button on an existing document doesn't display the Name field, meaning individuals cannot rename a document. After an item is uploaded and the required fields are entered in the form the user then clicks check-in. The library then opens and shows the document is still checked out to that user. Has anyone else experienced these issues before? The critical factor is the checking in a document, as to why this breaks on a custom edit form I have no idea. Any help would be greatly appreciated as under quite a lot of pressure to get this resolved. Chris

Creating a custom search Web Part to Search the Document Libraries only with in a site and its subsi



I am trying to write a code for a custom search which will search only the Document Libraries and Display the results.

I thought of using CAML for this but i am not able to send the search word from a textbox to a CAML query.

this is my code


void ExecuteKeywordQuery(string querytext)



SPSite site = SPContext.Current.Site;


SPWebCollection webs = site.AllWebs;


Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

Custom Editing Behavior for DataGridView TextBox Columns

For various reasons I'm using a DataGridView instead of a ListView, and while configuring the DataGridView to look like a ListView wasn't much of a problem, there's one thing that got on my nerves, which is the behavior of textbox cells in edit mode: It is much too easy to leave the edit mode accidentally, simply by pressing the cursor keys at the wrong time. For example when the text caret is positioned behind the last character of the textbox cell content, and you press the right arrow key

Creating a custom column with a link to document (other than the name field) in document library



I have a document library with the standard name column linking to the document. However, we'd like to create a custom field and have that link to the document (and edit item menu).

How is this best accomplished?

Thanks in advance!


How to write an event to manage permissions on a document while uploading, depending on custom field



I am trying to find a solution to manage permissions on a document, while uploading it into a document library. This event has to be fired if a custom field is populated (it's a check box field).

How to write an event for this, i tried writing ItemAdded event, but this is getting fired as soon as a document is uploaded, before coming to the page, where we populate all the fields and hit check in.

can i capture Check-in event.

Please advise.


Creating List Definitions with Custom List Columns for SharePoint Server 2007

Learn to use Visual Studio 2008 Extensions for Windows SharePoint Services to create a SharePoint list definition that implements custom list columns.

Video: SharePoint 2010 Document Libraries

This demonstration delves into working with document libraries and documents programmatically. (Length: 5:39)

SharePoint makes Office Document custom fields unreadable


We're using WSS 3.0SP2 with a Document Library that has document-level columns (fields) added. The columns (fields) are defined as single-line text; nothing fancy. In SharePoint we can set the field values no problem. When we pull the documents back out of SharePoint to the file systsem, and look at the Custom Fields, the values are unreadable gibberish. They look like graphics lines and boxes and the Type is set to Unknown.

Any ideas why this is happening and how to fix it?

SharePoint Document Libraries and Horrors Oh My

I thought I would capture a few ideas around document libraries and share with the rest of the class. These are not "best practices" as I don't want to sound too preachy so let's call them "pretty good practices that you might want to consider if you have some time" (which is far too long for a blog title, hence the one I came up with is going to have to do). SharePoint Fight Club The first rule of SharePoint. I want you to repeat after me. "SharePoint Document Libraries are not file shares." Good. Now say it again. Good. Remember this, above all other things we're going to talk about here, and you'll be golden. Document Libraries are not File Shares I have to repeat this here because it is key. If your users are asking you to put a file share into SharePoint then you need to beat them upside the head when they talk about "replicating the folder structure" or "like for like" or "make it just like *that* (and points to file share)". If you really must make some kind of analogy and your audience knows something about databases (even Access), rather than saying document libraries are like file shares say "document libraries are like databases". While SharePoint sits on top of a database it's kind of irrelevant what the backing store is (side note, Dear Microsoft, please make a pluggable store for SharePoint in the next version) a list or document library is pretty

Should I use WWF for custom document approval workflows?

Before I dive into yet another behemoth MS framework, maybe a little guidance for the simple but dynamic workflows that I will need to be dealing with. Document approval with n approvers both sequential and parallel QA assignment of helpdesk case to check that case was handled properly (needs to add disposition). Collaboration workflow where domain object may pass between several people to complete pieces of the job and result in a fully-qualified dohickey when the workflow ends. My strong impression from some of the other posts I have read here is that WWF would be overkill and possibly even a nightmare compared with a home-grown solution here.  Our use cases primarily will deal with activities going to people to complete and pass to the next level... Thanks a ton! Dave

Document Library "export to spreadsheet" doesn't export all columns in Excel 2003

Hi, we are working with MOSS 2007, Infopath Forms Services, KPIs and Excel 2003. There is a view for some data of the Infopath forms which has to be exported to Excel by our users, but some columns are not exported - without any error message. If I try to export it to Excel 2007 everything is exported as expected, but our users have to use Excel 2003. Any idea?

Seperate out the Document Libraries to individual Sites in MOSS 2007

We are using the MOSS 2007 with SP2. We are having three different Document Libraries for three different projects under same site. We have the requirement to migrate each library to shift to the individual sites. We need to do this with all the content, settings and and the permissions. It's fine to migrate the database and settings individually i.e. content database seperately and site settings seperately. Is anyone have this kind of migration?

Creating a new document in Document Library from custom menu item (in the ECB)

Hello! I created a custom menu item in the ECB for a document library. I'd like for this to create a new document from this menu item. Additionally, I'd like to create a workflow where the Title of the document from which the menu action originates is inserted into a custom textfield in the new document that is created. Is this possible using SharePoint Designer?

Incoming Mail enabled MOSS 2007 document libraries.

I would like to ask is there a way to get the incoming emails to go into a subfolder because right now the email goes into the root of the document library?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend