Solved

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

Posted on 2014-09-05
1
150 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now