How to upload specific types of attachments to the case
I'm using Pega 7.2 and implementing a section which allows to upload attachments to the case. I used pxFileUpload control. I need to upload only .pdf and .jpg files as the attachments. Using that control can I allow to upload only pdf and jpg files? I referred https://pdn.pega.com/community/product-support/question/customize-validating-fileextension-attachment this post as well. But how can I edit the java code in that activity? I save the activity using different name and followed the steps in the post. Then I gave that activity to the control under the parameter tab of that control. It doesn't work in that way. Is there any different way to do this task?