.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

Should I use WWF for custom document approval workflows?

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :WPF
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

View Complete Post

More Related Resource Links

Windows Workflow: Build Custom Activities To Extend The Reach Of Your Workflows


This article covers the core components required for building custom activities in Windows Workflow Foundation.

Matt Milner

MSDN Magazine December 2006

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

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.


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?

Custom workflows don't start via user accounts

Hi! Topic started here, http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010setup/thread/a51673e5-ec13-408d-b512-4cc98d84fdd8 As adviced copy it  to this subforum. I have the following problem. Custom workflows dont start. In the log there are following errors: Workflow Infrastructure 72fv Unexpected AutoStart Workflow: System.ArgumentException: New instances of this workflow template are currently disallowed. at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb) Workflow Infrastructure 72fv Unexpected AutoStart Workflow: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.Workflow.SPWorkflowManager.GetEngine(SPWorkflowAssociation association) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb

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?

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?

custom columns in document libraries

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)

How can I get search to work for a Custom Document Library with a few third-party field types?

Hi, Using WSS 3.0 with SQL Server 2008 for Workgroups I have created a Custom Document Library (2,462 files - copied from folder into Explorer view and then renamed using Batch Update in web services i.e. "BaseName" field) - basically it uses three fields that are of "Filtered Lookup" (a field type from a third party). The document library is included in the search (i.e. Advanced Settings), but it displays none of the files - bascially not included in search at all with all testing I have done. I created a new Document Library called "Test" and uploaded a document and it is included in the search. Is there any way I can debug this. Is there a log file? Is there something in the Search Database that might help? Your help would be really appreciated as this is my last issue - and its soooo important to the deliverable. Thanks. John.

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

Controlling Content Approval in custom SPD workflow

I've designed a custom workflow using SharePoint Designer 2007 on MOSS 2007 to perform the following: User uploads a document to a document library. Workflow triggers and waits for designated Approvers to either Approve or Reject the document. IF REJECTED, the user that uploaded the document is sent an e-mail and the document is deleted from the document library. IF APPROVED, the document is moved to a second, "secured" document library. This all works fine except for one thing. I want to record in a custom column who actually approved the document. As the workflow starts as soon as the document is uploaded to the document library then the workflow is running under the context of that user - not the user who approves or rejects the document. Does anyone have any idea how I could capture who approves this document through my custom SPD workflow?

Automatic Document Approval

I am setting up Sharepoint Server 2010 - Using Document Folders -- I would like to set this up if the user has write permissions to the folder that they can upload a document to the folder and have it published/approved without having to go through the approval process workflow. Any suggestions is greatly appreciated. Thanks

Document control with approval process

I need a mechanism to upload documents, in which has up to 12 different approval levels, dependant on value and cannot be escalated until the lower level's approve.  I need the ability to send email notification that a document is pending their approval as well as the ability to see at any given moment, where the document is in the approval cycle.

How to create one instance of COM object that can be accessed from custom fields/workflows

Hi, Ive got a COM-object that is used to perform some actions on another server, and i can use only one instance of it ... But : 1. my custom fields must interact with it for fetching data 2. my custom workflows must interact with it for posting data So the question is : How to create only one instance of COM-object which can be fully accessible from custom fields/workflows ( custom too ) Thanks :)

Custom document library template at farm level.


Dear all..

I'm trying to create a custom document library template at farm level, as I want to template to be available in all the sites I create.

The thing is that I'm not sure if I'm taking the correct approach. I just need a standard document library with 3 additional columns (Metadata) 2 text fields and one date field. I will then add a document library of this type to a custom site template I've already created. (So instead of list with Type '101' I will use my custom 10055 library.

The way I'm trying to do this is:

1. I make a copy of the FEATURES\DocumentLibrary folder of my installation. So now I have FEATURES\CustomLibrary folder

2. I create an empty SharePoint project in Visual Studio 2010 and map the TEMPLATE folder, and the I add CustomLibrary folder and all the files and subfolders in it.

3. I edit the feature.xml, and add a newly generated GUID

4. I make the modifications I need to the other xml files included in the DocLib and SiteTemplates subfolders. (Type=10055, etc..)

5. I right click on the solution and deploy.


After this, I can't see my custom library when I try to create a new item in my sites. 

One thing I don't understand is why the OOTB DocumentLibrary feature has HIDDEN = true in the feature.xml file. Anyway I've tried both in my custom template, but

How to develop custom sequential workflows using InfoPath 2010 and SP 2010?


Hello SharePoint Experts,

I want to learn to develop custom sequential workflows using SharePoint Server 2010 and Visual Studio 2010 making use of InfoPath 2010 Forms as well as .ASPX forms.

Can anyone suggest me good resources/tutorials on the Internet for doing abve tasks since I was unable to find any.

Any help appreciated.
Thanks in advance.

Regards,Gautam Kaikini, SharePoint Developer.
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