index > Windows Workflow Foundation > Extending the WinWF Designer

Extending the WinWF Designer

If one were to want to extend the WinWF designer by, say, adding a friendlier, knowledge-worker-oriented UI on top of it, what would be the recommended way of doing so? I know I've read here and there that this is an expected scenario for WinWF, but I must be searching with the wrong keywords because I can't seem to find much information about how to do it.

So far, the most viable solution I've come up with is to build a DSL that would transform domain information into WinWF XAML and code. I'm not at all unhappy with this route (I think DSLs rock), but I also want to be sure I'm not missing anything that might make this a whole lot easier.

Thanks.




Non nobis Domine non nobis sed nomini Tuo da gloriam.
Ambrose

Hi Ambrose,

One way to do this is to build your own design tool that edits (or exports) the XAML representing the Workflow model. This is recommended for higher level users creating and editing workflows for specific types of applications.

Another way to do this is to extend the designer that we provide as part of the workflow runtime. You can write your own activity designers and you can create themes for the design surface. The designer we use in Visual Studio 2005 can be rehosted in your application. Lab 10 in the WF Beta 2 Hands on Labs demonstrates rehosting of the designer and Lab 2 demonstrates creating an activity designer.

Download the hands on labs from http://msdn.microsoft.com/workflow

Regards,
Paul




Workflow Product Manager. This posting is provided "AS IS" with no warranties, and confers no rights
Paul Andrew
Thanks, Paul! I'll look at the labs you recommend.


Non nobis Domine non nobis sed nomini Tuo da gloriam.
Ambrose
reply 3

You can use google to search for other answers

 

More Articles

• Resolving Assemblies in LoadWorkflowInstanceState
• Generic state workflow with limited access
• Issues in SQLTrackingService
• hosting WWF inside a Com+ application
• LoadXml() causes bizarre error
• Problems when using While activity
• Exciting Possibilities.
• SqlWorkflowPersistenceService: Exception thrown while persisting ...
• Custom If activity
• How to duplicate the behavior of StateInitialization activity des...
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• What to download to get WWF running?
• Get Workflow Runtime
• Expense Reporting Instructions & Con
• Designer customization
• Bug? Removing UI type editors on paramet
• anyone succed in excuting James Conard's
• State Machine SQL Tracking DB: How to fi
• Event Driven Activity On Parent State
• How to troubleshoot custom designer for
• What if an activity is not the atomic un
• get xoml
• Workflow runtime hosting questions
• Custom Activity Scope Example
• workflow compiler
• Ignored breakpoints in the designer

Hot Articles

• CreateWorkflow() - where is it?
• In July CTP, using StateMachineWorkflowI
• Tutorial
• How to add the IMemberCreationService to
• Install Sept ctp
• Thread Handling
• Create a code expression with RuleCondit
• Passing parameters to custom activity Be
• Faulthandler in state machine workflows
• Re: workflow and web apps
• Hosting Workflow Runtime
• persistence runs only one workflow insta
• Debug on the design mode
• Get Workflow Runtime
• Opening a derived workflow in workflow d

Recommend Articles

• State Machine and EventSinks in VB
• ASP.NET & SQL Persistence/Tracking W
• Comparing Workflow activities to MVC Con
• Problem with Web Table control
• Workflow Parameters and Activity Propert
• BPI conference WF labs documentation
• Start the workflow from the "Break
• When does workflow instance released?
• Problem calling web service with more th
• Problem running Worflow in an ASP.Net sh
• Confused on why is is possible to drop a
• Activity communication
• Raising events to State Machine workflow
• Tutoral - Lab 3 Ex 1 Tk 3 logging
• The new kid on the n-tier layer block?