Question
Last activity: 9 Dec 2015 6:42 EST
Attachments deletion
Hi,
In my requirement, user have the ability to view the list of Attachments of a Work-Object , Add, Delete the Attachments from the same screen.
I have usedout of the box "pyAttachmentsContainer" rule in a section , it has List and Add but not delete
Alternative approach : Used "pyAttachmentsWrapper" , it has List, Add, Delete functions but when i delete screen replacing with blank white screen.
Can any please suggest me an idea where should see List, Add, Delete of attachments
Thanks
Suresh
Hi
The listview which shows the list of attachment is : AttachmentListEmbed
It is available rule . Can you please check whether it has the required field or not ?
Also, have you given your users the right set of privileges that are required to perform an attachment deletion ? Refer : https://pdn.pega.com/how-enable-users-delete-attachments
Also you can consider using pyCaseNarrative rule
Checked with "pyCaseNarrative" , along with attachments its showing user actions like WO update n create which user doesn't want.
Privileges will not play role here, User can delete attachment if i give "View Attachments" event on a button , that opens pyAttachmentsWrapper in a separate window, then deletion works. But i want that feature on UI instead of opening in a window.
Thanks
Suresh
Hi
I just tried to embed the section " AttachmentListEmbed" in my section and was successfully able to see and delete the attachment .
Can you try it once ?
Also make sure you have your pop up blocker disabled so that you can see the warning pop up that appears when you try to delete an attachment ?
Hi Shantanu,
My first approach is this, but when i delete attachment WO becomes blank, it just showing white screen.
Thanks for the inputs. Would you mind sharing your observation about the point John Pritchard-williams mentioned yesterday ?
Yes agree with Santanu.
There is already an OOB harness and section doing using this listview.
Harness called Work- • pyAdvancedAttachments
and Section called Work- •Attachments
Hi Suresh,
Have you tested this using multiple Browser Vendors/Versions by any chance ? If so - can you let us know the results here....
Thanks,
John
Hi
Which version of PRPC you are on ?