Skip to content

Commit 5431ea7

Browse files
authored
Create README.md
1 parent 9f10ead commit 5431ea7

File tree

1 file changed

+10
-0
lines changed
  • Client-Side Components/UI Scripts/Disable Copy Paste For Portal

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**Steps to Activate**
2+
1. Open the portals you want to disable copy/paste operation in "sp_portal" table.
3+
2. Open the theme attached to the portal.
4+
In the theme under "JS Includes" relatd list, create new JS include and select the UI script you created. Go to your portal and try to copy/paste in any catalog item field or any text field on portal.The operation will be prevented with the alert message.
5+
6+
**Use Case**
7+
1. Many high security organizations like banks do not want the users to copy paste account number or passwords to ensure safety.
8+
2. Many input form want the users to re-enter the password or username without copying from other fields.
9+
10+
This UI script is applied through portal theme , so it will be specific to portals using that theme. It will not have instance wide affect.

0 commit comments

Comments
 (0)