.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

Adornments on activities in rehosted designer not working for activities without a custom designer

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :JQuery

I've been working with the sample provided at http://blogs.msdn.com/b/kushals/archive/2010/01/04/base-designer-with-additional-adornments.aspx and the workaround suggested for activities that don't have a custom designer (http://blogs.msdn.com/b/kushals/archive/2010/03/12/base-designer-with-additional-adornments-ii.aspx). However, I cannot get the adornments to work - they simply do not show up. I notice that someone else had the same problem as me and posted a comment on the second blog article and didn't get a reply. I've also tried contacting the author with no success.

Does anyone have the source code to the sample, or know how to get it working?

[edit]: found the answer: http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/e141211b-c998-42a6-b57a-71191aed103d/#588182c8-9bf5-439d-9e79-c98187fec4ce

View Complete Post

More Related Resource Links

Rehosted Designer does not display custom Activities with custom ActivityDesigner


In a custom Rehosted Designer, when attempt to load a custom activity that has the Designer Attribute, referecing a custom ActivityDesigner, the rehosted designer display only the message "Could not generate view for MyCustomActivity" with red backtext.

When the mouse pointer is passed over the text, the following message is displayed:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation, --> System.Exception: The component 'Procwork.Software.Mersey.CORE.Common.ProcessManager.Designers.BusinessSourceActivityDesigner' does not have a resource identified by the URI '/Procwork.Software.Mersey.CORE.Common.ProcessManager;component/designers/businesssourceactivitydesigner.xaml'.
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Procwork.Software.Mersey.CORE.Common.ProcessManager.Designers.BusinessSourceActivityDesigner.InitializeComponent() in c:\Procwork\PW.Mersey\Modules\CORE\Common\ProcessManager\Designers\BusinessSourceActivityDesigner.xaml:line 1
       at Procwork.Software.Mersey.CORE.Common.ProcessManager.Designers.BusinessSourceActivityDesigner..ctor() in C:\Procwork\PW

Rehosted Designer: Using custom activities from dll


I adding to activities toolbar my custom activity, made in rehosted designer and compiled via msbuild.exe . Then I dragging it from toolbar to my workflow view. But when I try to compile or just run activity , which is using activity from the dll, there is the error. It cannot find type of needed activity in dll. Dll is in designer's executable folder.

=Sorry for my english

How do I generate service reference activities in my rehosted designer

My desginer is used to create lots of xamlx workflows.  These are hosted in app fabric. From Visual Studio I can add a service reference that points to my workflows, and it generates activities in my toolbar that I can use to call my service from another workflow. I'd like to do the same thing from my rehosted designer.  I figured it would be something like calling svcutil.exe, but couldn't find any information on this. Does anybody know how to create xaml activities by pointing at a service for a workflow designer rehost?   CheersJason Bolstad

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

How to drop Activities in Custom Activity Designer having custom style template?



I have designed a custom activity designer developed using Activity Designer XAML and using that in a rehosted Workflow environment on a WPF. I have changed the outer design of the Activity designer by setting the style template to my required style. If I do this, I am unable to add the activities to the custom activity having my custom activity designer.

Am I missing anything.? Please help me in this regard.

Thanks in advance,



SharePoint Designer: insert custom list not working anymore



Suddenly sharepoint designer decided today that it doesn't want to insert a custom list form anymore...
To be more specific, it doesn't work anymore in a site that uses the Microsoft budgeting and tracking template. In a website that uses an out of the box template, it still works.

It did work before, because I did it in other websites using the same template (it's broken there as well now).

Why oh why does SharePoint refuse to do this now?
I searched google and here on the forums, but all I could find was some issues after installing SP1, but we did that already long time ago and it was still working after that. I checked with our infrastructure guys and they didn't install new updates they say.

I also tried the solutions listed here: http://blogs.msdn.com/spdsupport/archive/2008/07/03/how-to-fix-custom-list-forms-will-not-insert-or-show-up-on-the-design-surface-of-sharepoint-designer.aspx
But they don't fix the problem.

So my problem is, I can go to Insert > SharePoint Controls > Custom List Form
I pick my list, content type and form type, I hit OK and... nothing happens.

[Sharepoint 2007] How to loop few tasks/activities in Visual studio workflow designer ?


Hi all,

I would like to create a workflow which have 3 tasks.

First the workflow create a task and assigned this task to a user. The user has to choose 4 dates in the year.

For each date chosen of the year two tasks will be created. The first task will ask the user to arrange a meeting.

When the first task has been completed a second task is assigned to the user asking for some feedback of the meeting.


How can i loop these 4 dates easily ?




Problem when adding activities in SharePoint Designer 2010



I have a problem while adding custom activities in a workflow with SharePoint Designer 2010. My activities are deployed by a global package that also contains features, web pages, activities. This packages work correctly on another server.

I add a new reusable workflow, then in the list of actions, I select my custom action but it is not added to the workflow. I don’t get any error message.

I added authorizedType in web.config.
My assemblies were deployed in the GAC.
In my package, I have web pages that use the assembly used by my custom activities and it works fine.

I also deleted temporary

Working with sub-workflow in rehosted designer?


Is it possible to work with a sub-workflow (i.e. subset of the workflow in the designer). For example a sequence, a flowchart, or any activity inside the workflow.

My idea is something like these:

  • Save the subworkflow to a file (for example, save the selected Sequence activity)
  • Load a saved subworkflow and add it into current workflow
  • Add a sub-workflow as an item in toolbox
Are these even possible?

WF4 Rehosted Designer Custom Expression Issues......



As we don't have the intelligence support in WF4 rehosted designer itself, we wanted to provide the custom window to build the expressions. To open the custom window we have used IExpressionEditorService, IExpressionEditorInstance…

Code to open Custom Expression window.....

public class CustomExpressionEditorInstance : IExpressionEditorInstance


Hosted Designer: Populating the toolbox with the standard activities as per VS2010

In the examples there is code like below that adds Activities to a Toolbox. However, it is a bit of a pain to re-create VS2010 Activities Toolbox in this manner with the correct Category structure. Also Activities added in this manner don't have the correct icon and tooltip information.

Is there a way to create the Toolbox automatically for given assemblies as VS2010 does?

//Create the ToolBoxControl



ToolboxControl ctrl =

Windows Workflow: Build Custom Activities To Extend The Reach Of Your Workflows


This article covers the core components required for building custom activities in Windows Workflow Foundation.

Matt Milner

MSDN Magazine December 2006

Smart Tags: Simplify UI Development with Custom Designer Actions in Visual Studio


Windows Forms 2.0 components expose smart tags by utilizing Designer Actions. By taking advantage of this feature, you can add smart tags to your own custom components to make setting their properties and other actions much easier and developer-friendly.

Michael Weinhardt

MSDN Magazine July 2005

.NET Internals: Tailor Your Application by Building a Custom Forms Designer with .NET


The design-time architecture of Windows Forms in the .NET Framework has made development much more flexible than it had been with MFC. With Windows Forms, you can drag one of your custom controls from the toolbox and drop it onto the Visual Studio design surface and even though Windows Forms knows nothing about the control, it's able to host it and let you manipulate its properties-not possible in MFC. In this article, the author discusses what's going on under the covers as you design your forms and then walks through the creation of a bare-bones forms designer.

Sayed Y. Hashimi

MSDN Magazine December 2004

Custom Editform.aspx crashes Sharepoint Designer

Hi there,

I've recently designed a sharepoint list and customised newform.aspx and editform.aspx. I made copies of the originals then customised the copies.
On both forms I simply:

* Closed original List Form web part
* Added Custom List Form
* Added some section breaks (<tr>) to the form to break it into sections
* Added a new css style to change the background colour on the section breaks (table rows)

Now NewForm.aspx works fine. However after making above changes in EditForm.aspx, I saved it. However whenever I try to reopen EditForm.aspx in Sharepoint Designer (SD), SD crashes! I can only open it in Text view. The error details reported by SD are:

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    SPDESIGN.EXE
  Application Version:    12.0.6423.1000
  Application Timestamp:    49b09947
  Fault Module Name:    FPEDITAX.DLL
  Fault Module Version:    12.0.6423.1000
  Fault Module Timestamp:    49b098d3
  Exception Code:    c0000005
  Exception Offset:    0010b35c
  OS Version:    6.0.6002.
  Locale ID:    3081

Additional information about the problem:
  LCID:    1033
  Brand:    Office12Crash
  skulcid:    1033

I really don't know why SD is crashing. As a test I made a new

Problem with SharePoint Designer 2007 and Custom List Forms


I created several forms (Create/Edit/View) for a SharePoint list, using Custom List Forms.  I'm using Content Types in the list to ensure that each item only has the necessary fields.  When I created the ASPX forms, and inserted the Custom List Forms, I selected the correct Content Type, and I got the right fields inserted in the form.

Now, for some reason I can't identify, every time I create a new form, and insert a Custom List Form, SPD is bringing ALL fields from the list, instead of just bringing the fields included in the selected Content Type.

I have tried many different things to solve the problem, including creating new lists/content types/forms, etc. but SPD is doing the same thing all the time.

Can somebody tell me what may have gone wrong in SPD or MOSS?


VS2010 designer problems with custom markup extensions returning FontFamily

App.xaml: <Application x:Class="CustomMarkup.App"              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"              xmlns:int="clr-namespace:CustomMarkup"              xmlns:ext="clr-namespace:ExternalMarkupExt;assembly=ExternalMarkupExt"              StartupUri="MainWindow.xaml">     <Application.Resources>         <Style x:Key="MyStyle">             <Setter                  Property="Control.FontFamily"                  Value="{ext:ExtMarkupExt {x:Static int:Resources.FONTFAMILY_NAME}}"/>         </Style>     </Application.Resources> </Application> MainWindow: <Window x:Class="CustomMarkup.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x=&quo
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