I’m working on a custom activity where I want to deal with some boolean properties.
Now those boolean properties are also being displayed as a normal text field(like string related properties). I wanted to add a toggle /check box in place of a text area.
Attached a boolean property, FYR…
P.S. [Category("Options")] property is not making any change.
Yes @loginerror … I’ve followed the same approach in code but after publishing and using the activity in UiPath, this is how it is appearing. I want a check/toggle box instead of a normal text field.
@ManiPrajwal_K can you please share a bit of your code which declares the property?
Do you want a static property (i.e. a property which you can set through a checkbox at design time)? Do you want an InArgument (i.e. a property which can take a variable or other expression and resolve it at runtime)?
Hi, @Tudor_Sandu thanks for the response. Sorry, I cannot share any snippet related to my organization. Just to give a glance, I have declared my property as a Boolean datatype.
Then I need a Static one. Which can set through a Check box while designing the workflow.
Eg:
I need to add a checkbox beside the Display property.
Previously I’ve used [Category("Options")] for a boolean property, now it is not working. I’m not sure why!