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

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

Automatic Document Approval

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
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

View Complete Post

More Related Resource Links

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 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 can I edit the link to the document in a Approval Task email?


With the 2010 out of the box Approval workflow, the emails and tasks work just great, however, when a user receives the email, the instructions look like this:


To complete this task:
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)


Currently, we are using a friendly url for our users, in order to access their SharePoint site.  The <LINKED DOCUMENT> when clicked on, gives them an error and doesn't take them to the actual document in the SharePoint site, because of the fact that we are using a different url name for the site.

If there any way I can edit this auto-generated email so that the links will always be to the friendly url of our SharePoint site with each document?


Thanks in advance!

Trying to generate dynamic link to a document within approval workflow email message


In the out of the box approval workflow, the fields below are used to dynamically create a link within the email for a user to access the item/document to be reviewed:


Review [%TaskProcess:Item Title%].[%Variable: InternetLink%]

If I create an approval workflow and modify the text around what comes out of the box, the link works.  If I add those exact fields (period and space included) via the "Add or Change Lookup" box (field selector), it doesn't work. It displays the title as a link but without a document extension of XML (for Infopath form for instance).


I don't want to have to delete my workflow and recreate it just to get that link to work.

Any ideas on why the "[%TaskProcess:Item Title%].[%Variable: InternetLink%]" only works when it is created out of the box versus building the string manually ?

Document Approval Process in SharePoint Foundation



I am currently analyzing the workflow capabilities available in SharePoint Foundation (free version).  One of the business needs my company has is that they would like to be able to submit a document that goes through an approval process.  For examples user1 adds the document then next another user or multiple users are sent an email stating that they need to go into SharePoint and approve this document, then it might be routed for more approval, etc.  My question is does the version I am currently working with support the use of an "approval" type workflow?  Do I need to upgrade to the pay version?  Thanks in advance.

Get the comments from document approval?


Hi all

We are using content approval workflow for infopath forms. I have been tasked to get out the comments of the tasks (not the Check_In_Comment field) while changing the workflow states. Any ideas how I can get them out?

We need to show them in the InfoPath form.


Designing a basic workflow for document approval using Sharepoint Designer2010.

Here is my current workflow design http://img407.imageshack.us/img407/8594/sharepoint2010designer.jpg

My primary question relates to the approval status.  As you can see in the picture I have said if document is approved then copy it to the communications list, else if it is rejected then delete it.  I have also tried putting these items in seperate steps, but no matter what I do it always copies the item to the communications list regardless of the document being approved or rejected and never deletes the previous version (as if that action doesnt even exist).  Any insight is greatly appreciated.  I'm a novice at this so please excuse my ignorance if the answer is obvious.  I'm still trying to gain a basic understanding of the relation between conditions, actions, steps, and such. 


Document library - content approval


I have a document library that 'Require content approval for submitted items', 'Creates major and minor versions' and also 'Only users who can approve items' see draft versions.

My problem is, if I check out a minor version and then check it back in again as a major version it then requires Approval, this is correct however I (the user trying to check in the major version) is able to Approve the item, this does not make sense.

If an item is requireing approval is there any way to remove the Approve/Reject option for the user that initiated the approval?


trouble with Pending Approval and Draft Document Reports


I'm getting ready to launch an intranet site. It is using the publishing infrastructure. In an effort to ensure that all pages and docs are ready to go, I looked at the Pending Approval and the Draft Documents reports.  They are both showing items that have been approved.  In fact the list of draft docs, shows the same doc multiple times (with different modified dates). On the pending approval report, I even selected them all and approved them, but some remained in the list.  When I select these again and attempt to approve them, Approve is not available from the Actions drop down list.

Can anyone advise how I can get this all cleaned up and ready to go? If something is "wrong" here, any ideas why?  I will say that I turned off publishing once and turned it back on because I got sick of the approvals while I was creating the pages and loading docs into libraries.

There are no mistakes; every result tells you something of value about what you're are trying to accomplish.

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.

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

Automatic vs Explicit Properties

If the reason that motivated the change from automatically implemented property to explicitly implemented property was to change the semantics of the property then you should evaluate whether the desired semantics when accessing the property from within the class are identical to or different from the desired semantics when accessing the property from outside the class.

SharePoint Document Workspaces for Developers

Office 2003 is being released this month, and a cast of supporting applications is already available. One of these is Windows SharePoint Services 2.0, the free team add-on for Windows Server 2003. If you're not familiar with SharePoint Services basics, take a look at What Developers Need to Know About Windows SharePoint Services. In this article, I'm going to drill into one key place where SharePoint and Office 2003 overlap: document workspaces

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

SharePoint document migration challenges when migrating files and folders

There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

Charset Problem with dynamically generated Word Document


in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..

         HttpContext.Current.Response.ContentType = "application/msword";
         HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
         HttpContext.Current.Response.Charset = "utf-8";
         string strFileName = "Details" + ".doc";
        HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
        StringBuilder strHTMLContent = new StringBuilder();
        string strMessage = " ";
        DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
        foreach (DataRowView row1 in abstractview)
            strMessage += "<table border='1' cellspacing='0' cellpadding='5' width

Embed word document inside excel



I am using ASP.NET and C# 2.0 and working on web application.

I want to embed a word document inside a excel sheet.

How to embed word document inside excel.

Thank you



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