Define Custom Types in a.Net Class Library and publish the same to UIPath

studio
how-to

#1

We would want to define custom type in a .Net Class Library (C# or VB.Net) and how to make this library available in the UIPath’s Type window. (i.e) The Custom types defined by us should be available in the Browse and Select a .Net Type.

regards
Karthikeyan Karuppanan


#2

#3

Well, this link talks about creating custom activity… The question I had raised is about defining custom types based on the domain and use the same from UIPath, for (e.g) I want following types to be made available so that we can define variables of these types in UIPath,

e.g types Customer, Address, Quote, Policy etc…


#4

Is it possible to write a set of lines in C# or VB.net in uipath? Is there an activity in UIPath that allows us to write programs or functions to performs certain logic? It’s too tedious to use assign, invoke method activities to map every program statement in the code… ?


#5

Hi @k.karthikeyan

Of course! Please look into those:
image

The Invoke Code activity supports vb.net, but there are other activities to run code in Java and Python, with C# on the horizon for future releases :slight_smile:


#6

OK thanks.