...
Entries (here FILE_AUDIT) need to be the same as the appender names as defined in logback.xml.
...
Specify which file types can be uploaded (Confirm this with client as well as MIME type https://www.lifewire.com/mime-types-by-content-type-3469108):
Code Block <allowedContentTypes> text/plain image/jpeg image/png application/pdf application/zip application/vnd.ms-outlook </allowedContentTypes>
...
Upload Size
...
Limits
Define upload limits per user on for attachments in the cluster config.
Code Block language xml <maxUploadThroughputPerUser>0</maxUploadThroughputPerUser> <!-- 0 means this is disabled --> <!-- The maximum size in bytes of a single binary --> <!-- a number less than 1 means no limit (defaults to 0) --> <maxBinarySize>5242880</maxBinarySize> <!-- 5242880B == 5 MiB MB -->
Define upload size limits for Publishing Templates:
Code Block <maxPublishingTemplateFileSize>10485760</maxPublishingTemplateFileSize> <!-- 10 MB, default limit -->
For Unity Pricefx, some modifications need to be made to Configuration/Feature Flags:
uploadMaxFileSize 5Code Block
*The value stands for allowed number of MB per attachment. The default is 5MB.