Question
IBM
CN
Last activity: 20 Dec 2023 22:34 EST
Attach content button - add customized action before files attached
in the Pega provided "Attach content" button, we need add customized action in its ACTION SET before the default behavior, that is, pop up a dialog to upload and attach files, how could we do that?
Business purpose is to use this button in a list, before the default behavior start, we need get current index (which line in the list). We can get the index only in Action Set of this button.
If we add actions to "Click" event of this button, as test, it will be run AFTER the default behavior.
We expect we do something BEFORE the default behavior in the button's ACTION SET.
Of course, we have found "Hover" event can fulfill, however we would not like to use this event as it looks no so reliable also it may be duplicate triggered.
Thanks.