Skip to main content
11 events
when toggle format what by license comment
Sep 16, 2015 at 8:43 vote accept user24524
Sep 16, 2015 at 7:59 comment added Himanshu please see updated code above. Let me know if it works :)
Sep 16, 2015 at 7:58 history edited Himanshu CC BY-SA 3.0
added 524 characters in body
S Sep 16, 2015 at 7:45 history suggested Saroj Bera CC BY-SA 3.0
Code formatted.
Sep 16, 2015 at 7:33 review Suggested edits
S Sep 16, 2015 at 7:45
Sep 16, 2015 at 7:33 comment added user24524 Yes, You got it!
Sep 16, 2015 at 7:32 comment added Himanshu You mean, you need to create both Attachment and Document from single input file?
Sep 16, 2015 at 7:31 comment added user24524 I mentioned in my question here i have to create document and attachment in single input file.Means I don't want to make individual file for document and attachment.
Sep 16, 2015 at 7:28 comment added Himanshu @user24524 Yes in my sample i am creating attachment. you can also add Document in the Similar manner. Use following for Documents : developer.force.com/cookbook/recipe/…
Sep 16, 2015 at 7:24 comment added user24524 Himanshu you are creating attachment not document file.
Sep 16, 2015 at 7:19 history answered Himanshu CC BY-SA 3.0