Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-09-05
1
Medium Priority
?
162 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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 …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

971 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