Row doesn't refresh after local action is submitted

Hello community,

On click of a button a local action is launched which contains a table (repeating grid) where in one of the cell there’s a link (link is in embedded section). On click of this link another local action is launched. This local action also has repeating grid with radio buttons. User selects radio button and hit submit. Requirement is to have corresponding row on first local action to refresh. I configured action sets on first local action on link as below:

Click a) Local Action
b) Set Value (pyWorkPage.pyTempText = 1) c) Refresh-Other-Section (section containing first repeat grid) When (.pyTempText == 1)

I tried to insert a hidden text in main section, first local action section, 1st repeat grid followed by Set Value between a) and b). But still it doesn’t refresh after local action submit.

Please advise.

Use a post-processing action on the second local action’s Submit to refresh the section that contains the first repeating grid. The refresh will not work reliably from the original link click, because that action runs before the second local action finishes and updates the data. On the submit of the second local action, configure Refresh-Other-Section for the parent section or first grid section so the UI reloads after the selected radio button is saved. Make sure the refreshed section is the one actually bound to the row data shown in the first local action. This way, the correct row value is shown immediately after submit.

I had to override pyOverlayTemplate’s submit button to trigger refresh-other-section (parent section containing grid). I was hoping something without overriding it since it’s used all across the application and might break.