Pages

Showing posts with label Sharepoint Designer 2007. Show all posts
Showing posts with label Sharepoint Designer 2007. Show all posts

Thursday, July 5, 2012

Associate an SharePoint Designer workflow with a specific task list

Hello All,

If we would like to associate a different SharePoint Task List to SharePoint Designer workflow from more than available Task Lists, there is not any direct way or user interface to do this.

The configuration for which task List is configured to SharePoint Designer Workflow is stored  inside the wfconfig.xml file. This is not an recommended way to do this.

If there are multiple task list available inside SharePoint site, SharePoint Designer Workflow picks up the first Task List.

So if we want to attach Task List of our own choice , we need to follow these steps.

1> Create a task list which lists first as Task List.

2> In SharePoint Designer, create a new workflow and compile it (click Finish in the Workflow Designer)

3> Now rename that task list from SharePoint User Interface.

That's it!!!You are all set with the SharePoint Designer 2007 Workflow with your desired Task List.

Disha Shah

Wednesday, September 15, 2010

The server sent a response which SharePoint Designer could not parse

Hi

A strange Error comes when I open my site in sharepoint Designer.
Error:
"The server sent a response which SharePoint Designer could not parse.  If you are trying to connect to a Windows SharePoint Services server, check with the server's administrator to make sure Windows SharePoint Services is installed properly."

Error Message Screen
 







I thought what happened , May I need to install WSS Once again!!!!! No!!!But very easy solution!!!
When you get this error please do not worry you just need to change that site web.config file!!!

we have something wrong inside web.config file in <httpHandlers> section.

<httpHandlers> 

<remove verb="GET,HEAD,POST" path="*" />

<add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=...." />

<add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=....." />  

<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=...." /> 

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=...." /> 

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=...." /> 

 <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." validate="false" /> 

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." /> 

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=..." /> 

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." validate="false" /> 

<remove verb="*" path="*.asmx" /> 

 </httpHandlers

The  <remove verb="*" path="*.asmx" />  which is last line inside the section.and put it at the beginning of <httpHandlers> section.After chaning that Your httpHandler section would look like this:

<httpHandlers> 

<remove verb="GET,HEAD,POST" path="*" />

<remove verb="*" path="*.asmx" /> 

  <add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=...." />

<add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=....." />  

<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=...." /> 

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=...." /> 

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=...." /> 

  <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." validate="false" /> 

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." /> 

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=..." /> 

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=....." validate="false" /> 

  </httpHandlers

Do not angry at Sharepoint Designer :)
Disha Shah