61
Views
4
Comments
Solved
[Event System] Triger event from one webblock to another webblock
Question
event-system
Web icon
Forge asset by Leonardo Fernandes

Good afternoon, I have a doubt regarding the events, if it is necessary to contain the destination container id how can I send an event to another webblock if I can not access the id of the container to which I want to send the event?


1 - WebBlock1

2- Ok button action

3- Trigger definition

4 - WebBlock2

5- EventHandler in WebBlock2


2021-07-14 09-27-33
Luís Cardoso
Solution

Hello Jorge,

You should call the action GetEventHandlers to get the Id of the event from Webblock2 and pass it to Webblock1.

Please see the attachment OML. 

Hope it helps!

BR,

Luis

MyAPPedit.oml
2019-12-06 08-26-53
Jorge Rodrigues

Luís Cardoso wrote:

Hello Jorge,

You should call the action GetEventHandlers to get the Id of the event from Webblock2 and pass it to Webblock1.

Please see the attachment OML. 

Hope it helps!

BR,

Luis


Hello Luís,


Thanks for the help, I applied as you said and it worked.


Jorge Rodrigues

2021-07-14 09-27-33
Luís Cardoso

Hello Jorge,

Can you please send that example to have a look on that?


Thanks.


BR

Luis

2019-12-06 08-26-53
Jorge Rodrigues

Jorge Rodrigues wrote:

Luís Cardoso wrote:

Hello Jorge,

Can you please send that example to have a look on that?


Thanks.


BR

Luis

Hello Luís,

Attached to the application files.


Thank you.

Jorge Rodrigues

Hello Luís,

Attached to the application files.


Thank you.

Jorge Rodrigues


MyAPP.oml
2021-07-14 09-27-33
Luís Cardoso
Solution

Hello Jorge,

You should call the action GetEventHandlers to get the Id of the event from Webblock2 and pass it to Webblock1.

Please see the attachment OML. 

Hope it helps!

BR,

Luis

MyAPPedit.oml
2019-12-06 08-26-53
Jorge Rodrigues

Luís Cardoso wrote:

Hello Jorge,

You should call the action GetEventHandlers to get the Id of the event from Webblock2 and pass it to Webblock1.

Please see the attachment OML. 

Hope it helps!

BR,

Luis


Hello Luís,


Thanks for the help, I applied as you said and it worked.


Jorge Rodrigues

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.