Disabling a section when a button(having a local action) is clicked.

Requirement :

I have a section e.g. ‘SectionTest’ having a button . That button has a local action configured on the action set. On click of that button a small popup opens but the issue is ; ‘SectionTest’ is still editable . The requirement is to disable the section and also make it read only mode . It Means when the popup is opened , the background section should be read-only and disabled(Greyed out may be) .

So kindly let me know how to achieve this.

Thanks in advance

Hi @AnanyaA2

The behavior of local action is expected to be the same. After performing local action the control returns to the main flow action. which is ‘Section Test’ in your scenario.

However, in the pre-processing of local action set a temp property to true.

Customize the buttons in main flow action and make the button disable when the temp property is true.

assuming this should work.

@saiganeshgoudn5231 Thanks Sai but the thing is, disabling the button is not required , the entire SectionTest should be disabled on clicking of that button . FYI '‘SectionTest’ has multiple fields like radio buttons , dropdowns , text area etc. . Everything should be disabled (means SectionTest should be visilbe but in read only mode) . So on section I cannot apply Visibility condition on the basis of temp property that u mentioned. For disabling the section I am trying to find some way through.

Let me know if u can suggest on that.

Make sure to launch popup as modal dialog.

Using Overlay will cause bahavior that you mentioned (fields under the popup are editable)

@MTSxyz Yes I figured it out . In the Overlay we’ll have to select Center Overlay . Then we can achieve the requirement i.e. when the popup is enabled the background screen will be uneditable and when it is closed , the screen becomes editable again .