Hi Dojo
I'm working with DOM Attachments and would like to allow users to attach additional documents to certain instances (will be MediaOps jobs in my use-case).
According to the documentation the default file size limit is 20MB, but this can be altered in the MaintenanceSettings.xml file. What I'd like to do is inform the user that his file is too large before doing the actual upload and show something in red in the interactive script. Instead of waiting for the upload to fail.
As a comparison: for DomInstances there is also a limit on the number of bulk operations and this value can be retrieved through a property on the instance helper (domHelper.DomInstances.MaxAmountBulkOperation)
Is there a similar way to retrieve the configured maximum attachment size for DOM Attachments?
Kind regards
Arne
Hi Arne,
I think you can retrieve it using the GetInfoMessage SLNet message, with type GeneralInfoMessage. The response has a field 'MaxDocumentSize', which is probably what you're looking for.
Kind regards,
Tom