Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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:
  1. Save as the pySetParamsBasedOnTypeOfWork data transform in to the application specific class.
  2. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us