MID Server Script includes calling issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2017 09:26 AM
While doing the external database integration, I can send attachment <5mb, but when I try to send >5mb file via mid server the base64 conversion not happened. Am trying to call MID server script includes which consists script of base64 conversion from normal script includes, its not getting called. I used the below syntax to call
var probe = new global.JavascriptProbe('MID_Server_Name');
probe.setName('RandomName');
probe.setJavascript('var Obj = new MidServerScriptIncludesName(); Obj.fileUpload();');
but am unable to access that mid server script includes, so the base64 conversion not done, in the external database it's going as empty file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2017 10:30 AM
Hi Hemanth,
Please check the below community article and see if it helps
Attachment SOAP base64 max load
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2017 10:44 AM
I have tried this but it shown as GlideStringUtil(); cannot be used in scoped applications, I have conversion script in MID server scipt includes that I wan to call in script includes.... the above is the statement I used, but didn't worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2017 10:55 AM
Hi hemanth,
Thanks for clarifying that. Instead of GlideStringUtil, can you try using gs.base64Encode or gs.base64Decode instead?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2017 10:57 AM
I have used it for <5mb file conversion, but if I use for >5mb it's not working