Notifications

194 views

Overview


Decrypting attachments using a script.

Decryption


You can encrypt using the following:

sysAttachment.changeEncryptionContext(attachmentGR.getValue("table_name"), attachmentGR.getValue("table_sys_id"), attachmentGR.sys_id, encryptionId); 


You can decrypt by passing an empty encryptionId.

Example


sysAttachment.changeEncryptionContext(attachmentGR.getValue("table_name"), attachmentGR.getValue("table_sys_id"), attachmentGR.sys_id, ""); 

Additional Information


Encryption scripting examples [Madrid]

Encrypt Unencrypted Attachments with Script [Helsinki]

Article Information

Last Updated:2019-06-27 09:04:54
Published:2019-05-10