Notifications

220 views

Description

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-08-02 20:57:02
Published:2019-05-10