How to automatically encrypt attachmentsIssue <span class="CmCaReT" style="display: none;" data-mce-style="display: none;"></span><span id="__caret">_</span><span class="CmCaReT" style="display: none;" data-mce-style="display: none;"></span><span id="__caret">_</span><!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> This article describes a method for automatically encrypting attachments added to a form. It will automatically select the encrypt checkbox and disable it. The context used can be specified in the script. Procedure 1) Navigate to System UI > UI Pages 2) Find and open the ui page named: attachment 3) At the top of the client script section, add the code shown below forceEncryption();function forceEncryption() { var encrypt_cb = gel('encrypt_checkbox'); encrypt_cb.value = 'on'; encypt_cb.checked = true; gel('encrypt_checkbox').disabled = 'disabled'; gel('sysparm_encryption_context').value = 'ENCRYPTION_CONTEXT_SYS_ID';} 4) Edit the code as needed to satisfy your specific requirements 5) Save the record Related LinksBased on the community post found here: https://community.servicenow.com/community?id=community_question&sys_id=204b8feddb5cdbc01dcaf3231f961977