How to disable/hide encryption popup for attachments on a catalog form in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 09:57 AM
How to disable/hide encryption popup for attachments on a catalog form in Service Portal
Followed the steps provided in
Did not find the piece of code to hide the popup in the spAttachmentUpload script. Please let me know where to update the code for hiding the popup
Thanks
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2021 01:40 AM
Hi,
Did you find how to disable Encryption popup form Portal ?
This popup appears in ROME but not in PARIS
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2022 03:45 AM
Hi,
Please find the piece of modified code and XML for the angular provided attached.
function(spModal, $q, i18n) {
'use strict';
return {
uploadAttachments: function(attachmentHandler, files) {
if (!files || !files.length)
return;
if (!g_has_encryption_context || g_has_encryption_context) {
attachmentHandler.onFileSelect(files);
return;
}
attachmentHandler.onFileSelect(files);
}
}
}
Please find the below steps to add it to the widget:
- Download the file attached.
- Go to the "sp_angular_provider" table in your instance and import the "sp_angular_provider_4b7be1a087fa4110db63ece60cbb3504.xml" file into the table.
- Then go to the "Service Portal > Widgets" and find your catalog item widget. It is the "SC Catalog Item" by default if it is not changed. Open the "SC Catalog Item" widget.
- At the bottom of the page, you will see the "Angular Providers" related list. Please click the "Edit" button to edit the list.
- Add the "spAttachmentUpload" script to the list and save it.