Sunday 27 September 2020

Disabling Copy Paste in Siebel Fields

 Hello All, 

Recently i had a requirement where i had to Disable Copy Paste on a particular field, to force user to Open Pick Applet rather then directly entering the value for some performance issues.

This is very simple to achieve if we use Open UI, and below piece of code can be used for the purpose.


$('[aria-label="Account"]').bind('copy paste cut',function(e) {

e.preventDefault();

alert('cut,copy & paste options are disabled on this Field!!');

});

Error Popup:




Sample PR File:










Hope this was helpful.

to extend this to List applet please follow the Post

http://www.siebelfoundations.com/2020/10/disabling-copy-paste-in-siebel-fields.html

1 comment:

Siebel GoTo View - Handling Realtime cases

 Hello All,  We all must have used GoTo view functionality of siebel to navigate to a particular view from current view. What if the require...