UiPath Documentation
sdk
latest
false
Developer guide

Name

Name property for UiPath custom activities, including the LocalizedDisplayName attribute generated by Activity Creator and how to modify it in Resources.resx.

Activity Creator

Generated Code

The LocalizedDisplayName attribute on your activity class contains a reference to the name you entered. The name may be modified by going to Properties Resources.resx.

using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}
using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}

Effect in UiPath Studio

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated