.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

Work Flow designer rehosting?

Posted By:      Posted Date: August 29, 2010    Points: 0   Category :Windows Application
Hi, I know how to create a WF designer using WPF. Can any one tell me how to integrate it with Host Application? I have a WF, i need that WF to be edited/added activities by business users. But I dont know how to integrate the exisiting host application with the WF designer?    

View Complete Post

More Related Resource Links

Access Denied while using Sharepoint designer 2007 to create a work flow

I am using Sharepoint Designer 2007 to create a work flow that sends emails to different people in a group depending on status of a record. For example, when some one reports a problem, an email is posted to concerned person and as soon as he/she checks the problem and updates the status an email is sent to next department and so on. Starting the work flow creation wizard is no problem but as soon as I press 'Finish' to create workflow I get 'Access Denied' message box. Any Ideas? I am using WSS 3.0 on 2003 Server.

sharepoint designer work-flow, task attachment enable

Hi I want to creat a sharepoint approval work-flow, which is sequencial so i am devloping it using sharepoint designer, but my chalange is that when it create a task for first approvar it should have an attachment option with task so when first approvar approve and want to attach anything he/she can attach refrence, then it should go to second approval and he also able to check or make additional attachment and so on can any one let me know is it possible and if then how thanks in advance

Unable to Send email when work flow added from designer


I intiate a workflow when item added to a doc library it is not sending Email notification.

Quick Note: Using SharePoint Designer 2010 to Work with Web Parts

Learn to create an XSLT List View Web Part within SharePoint Designer 2010 that displays a list of employees on the Home page of local web site.

Conditional formatting on a joined subview using SharePoint Designer 2007 does not work

I have 2 SharePoint lists, one is a parent task list and the other a child task lists.  In SharePoint Designer 2007 I have created a combined datasource from these 2 lists.  From there I created a new ASPX page inserting the parent list as a dataview and the child as a subview.  So far so good, all is functioning as you would expect.    Now I need to apply conditional formatting to cells and rows in both the parent and child lists.  I can create a very simple condition on a row or cell of the parent list such as "If ID Equals '2988' format the background color as green" but no conditional formatting appears for the row where ID = 2988.  Incidentally, if I change the condition to "not equals 2988" the background changes to green. The line in the code view of Designer appears as follows:  <xsl:if test="../../../Rows/Row/@ID = '2988'">background-color: #00FF00;</xsl:if> I've seen this question asked here and in blogs but never answered.  If anyone has a solution, I would love to know what it is. Thanks; Dave  UPDATE:  it doesn't seem to matter if you add the additional fields as a joined subview or not.  If I add 2 data views, both using the linked data source which is configured to JOIN the contents of the data sources the conditional formatt

Designer rehosting: manage edit rights on an actvity level, possible?

Hi All, We are considering using the new WF4 workflows in our new application and are currently designing the features for this. One of the things we would like is to allow our users to edit certain parts of the workflow, while leaving the standard functionallity untouched. To enable the editting of the workflow we plan to rehost the workflow designer in our application. However, until now we were not able to find if it is possible to manage edit rights for the workflow on a block level. Does anyone know if it is possible? The scenario we are trying to achieve is the following: We have a workflow containing for example 3 sequence activities: - StandardSequenceActivity1 - UserCustomizableSequenceActivity - StandardSequenceActivity2 What we want now is to manage the rights of a user so he can add some customer specific activities in the 'UserCustomizableSequenceActivity' but is not able to edit the other two activities in the designer. However, an administrative user should be able to edit all activities in the workflow. Until now we were not able to find anyone on the web that tried something simular to this. We came accross a lot of examples showing how to manage rights and impersonation while executing the workflow (a thing we are definately going to implement), but not how to do this while editting a workflow. We hope someone can provide us with an answer on this

Can't make parameterized query work in data flow task


I have an OLE DB source in a data flow task.  The connection is pointing to a SQL Server 2008 instance.  My SQL works fine when I click the preview button.  Now I need to make it parameterized by adding a question mark in my where clause.  After doing so & clicking the Parameters button, I get the error described in this post .  When I try to do what's described therein to correct the problem (click the "build query" button), I get the error "The PIVOT SQL construct or statement is not supported."

I can't make this query an expression; it's simply too complex to maintain that way (besides, just pasting it into an expression builder window and trying to evaluate as is doesn't work - can't evaluate).

So the question is, how do I parameterize a query?  And why does SQL here work so radically differently from SQL in an execute SQL task?

WPF designer: How to specify/show sub-properties (ExpandableObjectConverter does not work)?


Hi All,

I'm instantiating some class using Window.Resources tag:


 <b1:CaMyClass x:Key="myClass1" InitialDirectory="c:\">



The problem is that CaMyClass also has nested object property so I can specify them in code-behind like this:

myClass1.Styles.StyleA = ...;

myClass1.Styles.StyleB = ...;

WPF designer: How to specify/show sub-properties (ExpandableObjectConverter does not work)?


Hi All,

I'm instantiating some class using Window.Resources tag:


 <b1:CaMyClass x:Key="myClass1" InitialDirectory="c:\">



The problem is that CaMyClass also has nested object property so I can specify them in code-behind like this:

myClass1.Styles.StyleA = ...;

myClass1.Styles.StyleB = ...;

Send file as an email in work flow


My company works out of a SharePoint doc library to process orders.  Sometimes the orders need to be sent to another department.  The other departments need the files emailed to them. I only have access to SPD-07 - I would like to create a workflow something like:  If department = techservices, email file to techservices@email.com then delete the item. 

Is this possible?

The other departments have SharePoint sites, but they are not in other sites (they are top level sites in the root as our dept is). I had thought if i could copy and move, but this is not an option unless it is in the same site.

Any help much appreciated!

Does Useful Sharepoint Designer Custom Workflow Activities work across servers - pls HELP


Not usre if this is the right place to post this but sure many guys must have used this
I have a siteA at



and Site B at



when i try and use the
Copy List Item Extended Activity to copy the list items across i keep getting error:

System.IO.FileNotFoundException: The Web application at http://myserverA/sites/pop/lists/mylistname could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

My AAM looks like this:

Internal URL                  Zone        Plublic URL for Zone

http://myserverA:8080    Default     http://myserverA:8080

http://myserverA.domainname:8080  Default  http://myserverA.domainname:8080

http://myserverA.domainname:2020 Default     http://myserverA.domainname:2020  -- this is been extended for FBA

Any ideas what i ne

custom actions on work flow suspended sharepoint 2010




I need few custom actions like sending emails and few logs update  using  enterprise library. What will be the best approach for this .

will SPWorkflowEventReceiver   > WorkflowPostponed  solve my pupose


if yes, is there any alternate solution possible?

WPF Designer don't work with AutoCAD .NET


I have some trouble with WPF Designer. I create a Class Library project and add necessary references AcCui, acmgd, acdbmgd (from AutoCAD directory). After I add a new WPF User Control to project, open it in designer and...

?? ?????? ????????? ??????. (Exception from HRESULT: 0x8007007E)
  at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)
  at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
  at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
  at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
  at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, Run

How to avoid receiving DUE date field in Collect Feed Back Work Flow?

I have create a share point 2010 workflow, in my form there is a optional field called Due Date .If i dint select any date in that it give date like 01/01/0001 

Instead of that i need to hide or set i have to set some text to it. How to do this???

Edit in Microsoft SharePoint Designer on the drop-down menu doesn't work


I am trying to launch Designer via Site Actions > Site Settings > Master Pages Gallery > right click and select Edit In SharePoint Designer.  Instead of launching Designer it launchs Microsoft word.  I am the site collection administrator and I do have Designer on my computer.  Can anyone tell me why this short cut doesn't work? 

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

Promoted fields not available in SPD work flow


I have an InfoPath form that I have published to a form library. I initially only promoted one field called departments to the library. After messing around a bit, I decided I needed three other fields promoted and wanted to use them in a SPD work flow.

We have MOSS 2007 and I am using Forms Server publishing for this form as our people only have Office 2003 w/out InfoPath on their machines. It is a one WFE setup with a separate SQL box.

I re saved the form, and republished it adding the new fields to promote. They were not available to the SPD work flow when I choose "Set field in current item."

The only fields I see available to choose from in this area are the originally promoted department field, as well as the stock "Title" and Name (for use in forms).

So I figured maybe I need to publish to a new library. I deleted the old library, and published to a new library. Same problem.

I have tried a variety of actions including closing and opening SPD, removing spaces in the field names on the form and re adding them as fields to promote, but SPD is stuck on just the three fields. I don't understand why I likes department and not datesubmitted or requestnumber.

Any suggestions?


Creating a work flow, 'Access denied' ahhhhhhhhhhh


hopefully someone can help me with this before i begin playing target practice at the server with bricks.


Iv created a simple list. (contains no items at this point) Then i created a reuseable work flow in SPD (latest version - installed yesterday!) then published, when trying to add this flow to the list, only if i click either of the option "start flow when add/edit" i get the very anoying 'Access denied' Im logged in as the site col admin.

After some research it seems this is a common bug, a solution that seems to work for others is to check out/check in the flow. However i do not see any option to check out/check in any flows. Infact i dont think iv ever seen this option on anything in Designer.


Can someone please point me in the right direction.

Thanks in advanced



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