How to pass THIS to an action

Hey,

I believe I have the simplest question possible, but I just cannot find it.
How to pass THIS or e.target to my client action in Reactive Outsystems?

Hi,

I'm sorry, i don't understand what you mean. Can you share some prints or an OML with your use case?


Best regards,

Ricardo M Pereira

Hi Adam,

e.target means you just want the object identifier value onto which the event was dispatched??

I guess in your case the defined client action is mapped with or invoked by multiple object like button, link etc...

So, define an input parameter to the client action and pass the Element's runtime Id property value i.e. Element.Id as the client action input parameter as shown below..

Hope this helps you!


Regards,

Benjith Sam