Solved

How do I deploy a Sharepoint 2010 Custom Workflow Activity that is only required in Visual Studio?

Posted on 2014-09-05
1
152 Views
Last Modified: 2014-09-16
Hello,

I am currently building a custom Email Activity (using Visual Studio 2010 | Framework 3.5) and am having issues with it displaying in the toolbox (with functionality enabled).  None of the Properties are displaying.

For the moment I am not interested in presenting to SharePoint Designer.  So can I Build | Deploy without an ACTIONS file?

I have no problem building the solution, but cannot deploy (I realise I may not be able to that yet because of permissions).  Once I can deploy, and IF I do that with Visual Studio (deploy) will this automatically add the DLL to the GAC and update the web.config (as an authorised Type) or do I need to these steps manually?

Are there ANY steps I am missing?  Do I still need to add a Features Receiver (Add | Retract)

Cheers

CB
0
Comment
Question by:chelseablue
1 Comment
 

Accepted Solution

by:
chelseablue earned 0 total points
ID: 40312244
I have resolved this myself.

The Properties were not displaying due to how I had applied some attributes to the Dependency Properties.

For example, where I used the Browsable attribute across some of the Properties, I was using the shortname version in some and the fully qualified name in others...

i.e.
Browsable
BrowsableAttribute

Once I stuck to one format (BrowsableAttribute) and re-built | re-deployed the solution, I was able to add the custom activity to my workflow templates.

Can I claim the points for solving my own problem?
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question