• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

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

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
chelseablue
Asked:
chelseablue
1 Solution
 
chelseablueAuthor Commented:
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now