Add Description to a Custom Activity

I have created some Custom Activites and would like to know how I can add a description to the Input-fields? Just like the image below.
I have tried adding “[Description(“Sample text”)]” when defining the [Category(“Input”)] but it does not seem to show up when using the activity in UiPath Studio.



Hi @alfred_123,
I hope you are using the correct syntax for adding the Description attribute. PFB the sample custom activity containing the description attribute.

Let me know if it helps!

1 Like

Yes, I got it right. Found out it was my nuget package that caused the problem. Thanks!

Hi Everyone,

Can someone please let me know how to add description for activity itself,i.e when we hover on the activity it should show the description as below.