diff --git a/GlideSysAttachment/getAttachments.js b/GlideSysAttachment/getAttachments.js new file mode 100644 index 0000000..d7a4eea --- /dev/null +++ b/GlideSysAttachment/getAttachments.js @@ -0,0 +1,6 @@ +var glideAttachment = new GlideSysAttachment(); +//Get attachments as GlideRecord Objects +var gAttRec = glideAttachment.getAttachments('', ''); //Replace with your table and with sys_id of the record +while(gAttRec.next()){ + //Process each attachment record +}