l
2022-03-11 c9e23fe4ab15bc4b648a553d2172d0a74e1e1a74
1
angular.module("alSfdcService",[]).factory("sfdcService",["$log",function(a){function b(b,c,d,e,f,g){var h={apexType:"AL_MobileApp_Controller.CreateAttachmentRequest",id:b,photo:c.data.split(",")[1],fname:c.name,contentType:c.type,photoType:d,ms:e.getTime()};a.info(h.photo.length),Visualforce.remoting.Manager.invokeAction("AL_MobileApp_Controller.createAttachment",h,function(a,b){b.status?f(a):g(b)},{buffer:!1,escape:!1,timeout:12e4})}return{createAttachment:b}}]);