You need to sign in to do that
Don't have an account?
PK S 5
Large XML file (>16 Mb) Parsing !!
I have an requirement for Large XML file (>16 Mb) Parsing.
Getting error :
Error uploading attachment:Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AttachmentManagmentTrigger: execution of AfterInsert caused by: System.StringException: String length exceeds maximum: 6000000 Class.parseXMLClass.loadXML: line 23, column 1 Trigger.AttachmentManagmentTrigger: line 6, column 1: []
At : String bodyContent = <ref>.body.toString();
Any help!!
Getting error :
Error uploading attachment:Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AttachmentManagmentTrigger: execution of AfterInsert caused by: System.StringException: String length exceeds maximum: 6000000 Class.parseXMLClass.loadXML: line 23, column 1 Trigger.AttachmentManagmentTrigger: line 6, column 1: []
At : String bodyContent = <ref>.body.toString();
Any help!!
Maximum size is 10MB
refer this links:
http://www.ceus-now.com/string-length-exceeds-maximum-6000000/
https://help.salesforce.com/apex/HTViewHelpDoc?id=collab_files_size_limits.htm
Thanks.