How to build a custom widget

Hi,

I am new to OutSystems.  My requirement is to create a custom widget so that it can be used by other application.

If possible, please let me know the steps/process to create the widget.

If there are some samples/examples available please forward the link or document so that it will be highly useful for me?

Thanks in advance.

~Santosh.

Hi Santosh Behera,

Perhaps you want to create a custom component? A widget is usually a native component of OutSystems.

Maybe you want to take a look into this document:

https://success.outsystems.com/Documentation/Best_Practices/The_Complete_Guide_to_Creating_Components

Marco Arede wrote:

Hi Santosh Behera,

Perhaps you want to create a custom component? A widget is usually a native component of OutSystems.

Maybe you want to take a look into this document:

https://success.outsystems.com/Documentation/Best_Practices/The_Complete_Guide_to_Creating_Components

Hi Marco Arede, 


Thanks for sharing the link. 

I have already looked into this, but I did not get any clear idea, how to create a new widget/Block. 


How to expose properties/events from the widget/block. If there is some samples or steps to create create a widget/block, that will be really helpful.

Santosh Behera

At the user interface level, wrap your code in a web block, and interact with the parent page/block using events.

I'd advise you to take the full OutSystems Web Developer Course.

You might find the answer you need here:

https://www.outsystems.com/learn/lesson/881/web-blocks-and-ui-reusability/?LearningPathId=0

Let us know if it helps!

Regards,