User_Form as a custom Activity

Hi All,

Can we create a custom Activity for a user form created in Microsoft Visual Studio? If yes, could you please assist me the steps?

Thank you
Anjali

Hi,

Yes, you can.

First of all, see the following document and make your code activity project.

Then, make your user form in your custom activity project, and write the following code in Execute method.

YourForm fm = new YourForm();
fm.ShowDialog();

#Add setter and/or getter in your CodeActivity class to pass data, if necessary.

Rergards,

Yoichi

Hi Yoichi,

Thanks for your reply.
Previously I have created custom activity but not sure how to convert a user form in custom activity.
Could you please provide me some example just for understanding.

Thanks
Anjali

Hi,

How is this?

Yoichi

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.