This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
MyIT Self Service
MyIT 3.3.02 and above version
DWP Customization: How to increase attachment size when submitting Requests with attachments greater than 5 MB?
Please refer to the below IDEA which is already present for the enhancement.
You can configure this in "srAttachmentSizeLimit" in config.json file under ux\previous\myitapp\scripts\app\ and ux\current\myitapp\scripts\app\ file and restart tomcat to reflect the changes.
Please note that you will see performance degradation when submitting the request with large attachment after you increase the size.
Also, since config.json file is under ux directory, the changes are not preserved during hotfix deployment or upgrade. So please make sure you make you reapply config.json file with the customization after every hotfix deployment and upgrade.
Refer below for 19.02 and above versions :
C:\Program Files\BMC Software\DWP\DWP\dwp\previous\app\assets
C:\Program Files\BMC Software\DWP\DWP\dwp\current\app\assets
In that you will be able to see, "blockedAttachmentFormats"(This is the list of files which are unsupported. You can add any extention if you want to block it.) and "srAttachmentSizeLimit": "5". (Attachment file size limit is 5 MB. You can configure it for less or more) parameter.