209
Views
10
Comments
Solved
How to notify something from parent to child
Application Type
Reactive

Hi members,

I have some action items with icons in the child block which is set as disabled according to the condition, but I want to make that enabled whenever user hit a specific button from the parent screen.

Kindly help if is there any possible workaround to perform this.


Regards,

Sandip Saha

2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi 

You can use input parameter like IsEnable and change the value of input parameter from parent 

Set enable condition of action items based on the input parameter(IsEnable)

2022-12-23 05-00-54
Sandip Saha

Hi Krishnanand,

Thanks for your reply,


I had already tried with that but somehow its not affecting.
So I'm looking for another possible ways.


2023-04-16 15-25-31
Krishnanand Pathak

It should work.

Please share oml if possible.

2025-10-16 10-02-51
Sohel Khan
Solution

@Sandip Saha  I think @Krishnanand Pathak  has given the proper solution , its better to do with input parameters as because it will not change the other business logics . The important point to be noted that you have write proper conditions in enable property of that widget.

2022-12-23 05-00-54
Sandip Saha
2022-12-23 05-00-54
Sandip Saha

hi,

you were right.
actually I had made some mistakes with code which preventing the process.

2025-10-16 10-02-51
Sohel Khan
Solution

@Sandip Saha  I think @Krishnanand Pathak  has given the proper solution , its better to do with input parameters as because it will not change the other business logics . The important point to be noted that you have write proper conditions in enable property of that widget.

2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi 

You can use input parameter like IsEnable and change the value of input parameter from parent 

Set enable condition of action items based on the input parameter(IsEnable)

2022-12-23 05-00-54
Sandip Saha

Hi Krishnanand,

Thanks for your reply,


I had already tried with that but somehow its not affecting.
So I'm looking for another possible ways.


2023-04-16 15-25-31
Krishnanand Pathak

It should work.

Please share oml if possible.

2025-10-16 10-02-51
Sohel Khan
Solution

@Sandip Saha  I think @Krishnanand Pathak  has given the proper solution , its better to do with input parameters as because it will not change the other business logics . The important point to be noted that you have write proper conditions in enable property of that widget.

2022-12-23 05-00-54
Sandip Saha
2022-12-23 05-00-54
Sandip Saha

hi,

you were right.
actually I had made some mistakes with code which preventing the process.

2023-10-26 15-12-53
Mohammed Rizwan

Hello sandip

Inside a blcok there is on parameter change event you can use that event to get changes reflect  

Thanks Regards

Mohd Rizwan


2025-10-18 11-13-53
Ramesh subramanian

Hi Sandip Saha,

please check this documentation and get ideas to solve.

Notify something from child to parent.

https://success.outsystems.com/documentation/11/developing_an_application/design_ui/reuse_ui/use_events_to_propagate_changes_from_a_block_to_the_parent/?_gl=1*1aawb7m*_ga*MTc1NTIyNDYwNC4xNjc1MDY4NTQ5*_ga_ZD4DTMHWR2*MTY4MTk3MDM2OS4yNDQuMS4xNjgxOTczMzg2LjYwLjAuMA..

Notify something from parent to child

use  parameter change event


Thanks,

Ramesh

2024-09-12 02-43-38
Deepsagar Dubey

Hi @Sandip Saha 

Outsystems web blocks provided us some events, One of them is onParameterChanged, This event is triggered when any input parameter value of the block has changed,

So you can put your further logic inside onParameterChanged event handler which is a client action.

I hope it'll help you,

Thanks
Deep

2022-12-23 05-00-54
Sandip Saha

Hi all, 
appreciate all of your ideas.
According to my requirement the best way would be that which is suggested by @Krishnanand Pathak .

Thanks & Regards,
Sandip Saha

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