Delete Specific item in repeating dynamic layout with Confirmation message
I have a repeating dynamic layout that has an include section. Each include section is an item that contains a delete icon (a trash). When I click on delete icon, it displays a modal dialog with a confirmation message and 2 buttons as "Yes" and "Cancel". When I click on "Yes", selected item should get deleted and on "Cancel" close the modal dialog without delete the item.
Currently I have this configuration:
The "trash" icon has a Local Action that displays a section with these two buttons and a confirmation message. On the "Yes" button, I configured a DeleteItem action, but when I click it the repeating layout specific item isn't deleted and nothing happens. How can I delete the specific item when clicking on "Yes" button?
I tried another solution but without success: tried to get the pxListSubscript and remove page through index (on the Local Action -> Flow Action -> Post Action), but I wasn't allowed to do this... got an error.
I'm using Pega 7.3
Can someone please help me with this?? Thanks in advance!