Support Article
Files property config issue in HistoryAndAttachments harness
SA-28483
Summary
Files do not get expanded in the HistoryAndAttachments harness.
User has added a custom section in the HistoryAndAttachments harness. When clicking on the '+' icon, user is unable to see the attached files. Also, there are times when the files do not get attached.
User has upgraded from PRPC 6.3 SP1 to Pega 7.1.8. However the issue exists with plain Pega 7.1.8 version.
Error Messages
no matching data found
Steps to Reproduce
- Create a section, include three OOTB sections Attachments, AttachmentListView and AttachmentsSelect.
2. Include the main section in the HistoryAndAttachments harness.
3. Run the case and add files, try to expand the files using the + icon.
Files are being are not expanded and displays "no matching data found".
Root Cause
There are 3 same list view is in the screen with ID div_Link-AttachmentAttachmentListEmbedALL, we generate same ID for all section sourced with same List View, so while getting unique element ambiguity occur, so the events are not working properly.
Resolution
Any one of the below solution can be applied:
1. Add some visibility condition so that at a time 1 list view should be visible.
2. Delete the unwanted Listviews form the section.
Published October 23, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.