.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

Sharepoint Server 2010 Publishing Page and Approval Workflow

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi ,

I have a problem with Approval Workflows on Sharepoint Server 2010 ,

My scenerio is below;

1-Create SharePoint 2010 Publishing site.

2- Create a page say, "xyz.aspx", in page library.

3- Check in the page.

4- Publish the page using drop down menu from page library.

5- SharePoint 2010  will run "Page Approval" workflow.

6- While workflow is in progress, try to edit the page.

7- Pop up with window "Error" will appear.

This Error Message is:This page is currently locked for editing because a workflow is running which will stop if the page is changed. Do you want to continue ?

And then always ask this question to me while wf is running

View Complete Post

More Related Resource Links

Sharepoint 2010 - Cannot Activate SharePoint Server Publishing

Site The feature being activated is a Site scoped feature which has a dependency on a Site Collection scoped feature which has not been activated. Please activate the following feature before trying again: SharePoint Server Publishing Infrastructure f6924d36-2fa8-4f0b-b16d-06b7250180fa Web The Site scoped feature being activated has a dependency on hidden Site scoped feature 'FeatureDefinition/22a9ef51-737b-4ff2-9346-694633fe4416' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site scoped features that auto-activate the dependent hidden feature.

Creating Page Layout Sharepoint 2010 Publishing

I am trying to create a custom Page layout (3 fixed columns with webzones 1 for content (content editor) and other 2 for adding web parts here is my aspx, please some one help me out, as tha webpart slides below another if it exceeds the width <%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %> <%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly=&qu

OOTB Approval Workflow SharePoint 2010 - Blank "Requested By" field appears in Task Item edit/view f



I am having a simple OOTB  approval worflow associated to the simple document library. Task is created when an document is uploaded to the library.  When I click the task item in task list, I see a blank field "Requested By"  right below the "Status" column and I am unable to understand from where this field is coming and how to populate this field. Any help would be great...

SharePoint 2010 Approval workflow based on list criteria


Hello All

I have been requested to create an Approval workflow for a list with 3 columns - Title, Category and Price. The Category field has 3 options - Minor, Moderate and Major.

If the Category is Minor the approval is sent to the Project Manager, and after approval it is sent to the Manager for approval.

How can I accomplish this using SharePoint Designer 2010? Can I modify the OOTB approval workflow, if yes how?

What other options do I have? This is really urgent.

Thank you for any responses.




Setting Options Programmatically in Visio 2010 for Publishing to SharePoint Server 2010

Explore how to programmatically save Visio 2010 diagrams as web drawings for use with Visio Services in SharePoint Server 2010.

SharePoint 2010 WFE Page Not Opening in a 5 Server SP Farm

I have a 5 Server SharePoint 2010 Farm - 2 NLB, 1 Index, 2 Node SQL 2k8 R2 Cluster.
I completed the installation of this and finally when I hit the http://intranet:555 (Intranet being the NLB name) from outside the servers (from a client machine), I got a 404 error. Within the Index Server where the Central Administration is hosted, the URL is opening fine. Withint the 2 NLB machines, the URL shows me a login entry box, but even if you give the right ServiceFarm credentials, it does not open the site, it infact just gives me a blank page (no 404 or access denied page). What do you think I should be done?

SharePoint 2010 Approval Workflow email is not showing link to Workflow Task list



I have created an out of box Approval workflow in SharePoint 2010. I am receiving email with below information

Task assigned by Chinna Malipedu on 10/7/2010.

Due by 1/1/0001

Approval started by Chinna Malipedu on 10/7/2010 11:43 AM
Comment: Approve



To complete this task:
1. Review SharePoint2010.
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.)

But I need to go to Workflow Task List by clicking 3 item "Use the Open this Task" , this is not a link here

or I want like "Edit this task to mark the task as completed."  Edit this task should link to Task List

How to do this? do i missing any configuration?

I have successfully done the same  in MOSS 2007.                                                               Is there  any extra&n

Sharepoint 2010 Approval Workflow "Open this task" link not functioning


When I am clicking on "Open this task" link in outlook 2010 i am getting error as "Access to the floowing form required". Please help me out to resolve the issue..






cannot add Impersonation step in approval workflow sharepoint 2010



I am using SharePoint 2010 approval workflow, where users fill infopath form and submits it to form library and manually starts workflow on that item with their choice of approvers, my requirement is i need to break permissions when workflow starts on that item and give permissions to user and approvers only .

is there anyway to do it?




How to Shift My Data From one page to another In sharepoint server 2010



Am just uploaded some files into  Book Folder under Meterials in share point server 2010.

Now my boss ordered to change the location of all files  to Libraries.How can i change the Files location .Is  there any chance to shift/export the data.please help me urgent.

Thanks & Regards



SharePoint 2010 Approval Workflow

I have set up a standard approval workflow in SharePoint 2010 Server.  The e-mail sent to the approver links fine to the file that needs review but the approval step part of the e-mail just looks like this:  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.)  There is no link to the approval task, it is just bold.  I don't think it is not a permissions issues because I can go to the task list and approve the task.  Any ideas?

Custom Workflow Approval form creation in SharePoint 2010


How to create Custom workflow approval form in sharePoint 2010.?

I have to create serial approval workflow with 3 stages,

1. In each of approval stage, Approver has to approve and update the value in the SharePoint List.

2. Workflow email should have email link to workflow list item.


Please let us know how to achieve this. Is this possible using Out of Box workflow?







Marulasiddappa SB (Swamy)

SharePoint Desinger 2010 approval workflow error



I created a copy of the out-of-the-box globally reusable workflow titled, "Approval - SharePoint 2010."

I then modified the "Initiation Form Parameters" in the workflow copy that I created. By default, the "Show on Form" settting for these parameters - Approvers, Expand Groups, Request, Due Date for all Tasks, Duration per Task, Duration Units, CC is set to "Both" (i.e. show these parameters during Initiation and Association). I did not want to display these parameters during Initiation, as we don't want end-users to change these settings. I want them to be displayed during Association only. We want Administrators only to be able to configure these parameters.

So I changed the "Show on Form" setting for the above parameters to "Association (attaching to a list)." I am able to save the workflow. And when I click on "Check for Errors" no errors are reported. But when I attempt to publish the workflow, I get the following error:

Errors were found when compiling the workflow. The workflow files were saved but cannot be run. And when I click on the "Advanced" button in the error message, I see this detailed error:

(0, 0) Activity 'ID4' validation failed: Property 'DurationUnit' has invalid

Inheriting from publishing page content type does not allow for overriding fields in SharePoint 2010


Hi there, we are creating custom content types that inherit from the "Page" content type.  We have found that we must have the "Inherits" property set to "TRUE" or else our custom content types do not show up in the content type gallery.  If we query the site collection using management shell the content type does appear to be there, but unfortunately it will not publish from the content type hub. If we set Interits=TRUE the content type deploys properly and appears in the content type gallery, but we cannot override (change the display name) or remove any of the inherited fields. Ultimately, we would like to have our content types inherit from "Page" and also override some of the "Page" fields, but this does not appear to be possible. We have spent quite a bit of time on this issue and are wondering if this is a bug or intential behavior of the "Page" content type. Any information you can provide would be appreciated? 

P.S. We have ran similar tests inheriting from "Document" and "Item" content types and do not encounter the same issue with overriding inherited fields.


Is there a site page default.master in SharePoint Server 2010??



I inserted a few lines of code on the wkpstd.aspx template to "show" the document library properties on each wiki page within each wiki page library. This is working fine, except that the property Document ID
is showing up on site pages as well.  I checked Moss 2007 and I foumd that there is a bpcf.aspx default page that is used to create a basic page. Is there a separate template or master page for the site pages within 2010 that i can modify?

Any help or suggestion is greatly appreciated. Thanks.


Accessing SharePoint 2010 Data with Server-Side APIs

Accessing SharePoint data in server-side solutions is one of the most common tasks that you will perform as a SharePoint developer. SharePoint 2010 provides powerful server-side APIs that enable you to retrieve, add, edit, and delete SharePoint data programmatically. SharePoint 2010 also includes the new LINQ to SharePoint technology that enables you to work with SharePoint data efficiently and easily.

Configuring User Profiles in SharePoint Server 2010

Note: I've added the necessary links relating to SharePoint Server 2010 prerequisites, along with instructions for configuring the user profile synchronization service, at the end of this
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