Question

2
Replies
518
Views
SachinN6 Member since 2015 13 posts
Synechron
Posted: 3 years ago
Last activity: 3 years 5 months ago
Closed
Solved

How to refresh attachment section onclick without submitting flow action

Hi,

I have a button included in my main section. On click of this button I am executing an activity which created PDF (pxCreatePDF) and I am refreshing other section which is standard pyCaseAttachmentsWrapper section (standrad pega section which shows work object attachments).What I expected is on refresh, the attachment that was just created by pxCreatePDF activity should get displayed in the section below.

I have tried many approaches using on click actions (refreshing current section, refreshing other section along with running pxCreatePDF activity, invoking javascript etc).However, although section gets refreshed in few scenarios, file attachments dont show up.

However, when I submit that flow-action, attachments show up properly on next screen.

I saw some other forums regrading the refresh of attachments section which suggested removing D_Attachmentslist data page responsible for holding attachments of given case. But latest version of pxCreatePDF activity I am using already takes care of it.

Can someone suggest what is missing or needs to be done? I am attaching screenshots of section and onclick configurations.

User Interface
Moderation Team has archived post
Share this page LinkedIn