rbeckman-nextgen / test-mc6

0 stars 0 forks source link

Improve JavaScript Attachment methods #4128

Closed rbeckman-nextgen closed 4 years ago

rbeckman-nextgen commented 4 years ago

Dev Notes:

Currently the following methods are available to the user:

The following methods should be added:

The following methods should be modified:

The above added / modified methods should also have equivalent counterparts in AttachmentUtil.

The user should be able to modify an incoming CCD attachment like so: ` var ccd = new XML(getAttachment(attachmentId, true).getContentString());

ccd.id.@root = 'testing';

updateAttachment(attachmentId, ccd.toString(), 'text/xml', true); `

Imported Issue. Original Details: Jira Issue Key: MIRTH-4276 Reporter: narupley Created: 2018-05-25T13:10:23.000-0700