Support Article
Attachments do not display in Search option in Case Work portal
SA-87247
Summary
Incorrect attachment count displays when searching with work object ID and Content search property value.
Error Messages
Not Applicable
Steps to Reproduce
Not Applicable
Root Cause
The pyAttachmentcount was set to 3 in the pySetParamsBasedOnTypeOfWork data transform. Hence, the attachment count always displayed as 3 when searched with the work object ID. This was despite the presence of a large number of attachments in the corresponding work object.
Resolution
Perform the following local-change:
- Save as the pySetParamsBasedOnTypeOfWork data transform in to the application specific class.
- Change the pyAttachmentcount to a higher value such that on searching with the work object ID, the attachment count is obtained that is in the work object. For Content search, only attachments with the search text is displayed in the Attachment count.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.