How to disable Copy/Paste to a field in Siebel 7.8

Hi Gurus,
Is there a way to disable paste into a certain field in Siebel 7.8?There is a way to do that in normal HTML but is it possible in Siebel.

One option that comes to mind is to intercept the HTML that is generated for the field on the applet and append to it with the HTML/Javascript that would prevent the pasting.
For example on the login applet we put some code in capture the enter key since it did not work out of the box.
     if (ControlName == "Password" && Property == "FormattedHtml")
          //onkeypress='JavaScript:null'
          var iOnKeyPressLoc = HTML.indexOf("onkeypress='JavaScript:null'");
          if (iOnKeyPressLoc > 0)
               //.... REMOVED FOR DISPLAY ....               
               HTML = sLeftHTML + " " + sMidHTML + " " + sRightHTML;
     }

Similar Messages

  • How to disable copy/paste on TextInput

    Hi,
    I'd like to disable copy/paste on textinput. It's possible ?
    I tried with preventDefault() on KeyBoardEvent but it doesn't work.
    Thanks  in advance.

    Hi Christian
    await MiniBrowser.InvokeScriptAsync("eval", new string[] { "function (e) {e.returnValue = false;} if (document.body.addEventListener){ document.body.addEventListener('onselectstart',yourHandler,false);} else {document.body.attachEvent('onselectedstart',yourHandler);//for IE} function yourHandler(e){e = e || window.event; var target = e.target || e.srcElement; YOUR LOGIC HERE}"});
    It's throw the same error.

  • How do I disable copy/paste for most (but not all) of a .pdf?

    Hello, I'm trying to create a .pdf document that is a "how-to" guide.  I'd like to disable copy/pasting from 95% of this document, with the exception of a few sections that i'd like my users to be able to copy and paste and use as email templates.  I've gone ahead and set pasword security settings and un-checked the box for "enable copying of text, images, and other content".  Is there any way that I can enable copy/paste for just a few small sections of my document?  or is it an "all or none" function?
    Thanks in advance for your help.  -Geoff

    Graffiti, Can you please expand on that?  I'm using Microsoft Word as my original document.   I'll have mostly paragraphs of non-copyable text, with a few sections that contain sample email templates that will be copyable.  Example below.  Thanks, Geoff
    Here is my description of an amazing new process written in Word.  To use this process, copy the email template below and customize with your own name.
    Email Template
    Dear John,
    Copy this email and send it with your own name.
    Thanks,
    Geoff
    More non-copyable text.

  • How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values?

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

  • Registration Applications - Emai and Repeat Email - Disable Copy&Paste

    Hi,
    The standard behavior of Emai and Repeat Email field of Registration Applications allows Copy&Paste.
    I would expect to have standard behavior to not allow Copy&Paste otherwise 'Repeat' don't make sense. May i know the reason behind standard behavior Copy&Paste options for the Email fields?
    Can I disable Copy&Paste of the Email field by enhancement, if yes, how?
    ...Naddy

    Reposted with an additional quation Web Dynpro ABAP section...
    http://scn.sap.com/thread/3226810
    ...Naddy

  • When designing, how do I copy more than one field at a time?

    How do I copy more than one field at a time?

    Hi,
    You can use the Ctrl or Shift modifier keys to select multiple form items. Ctrl+click toggles the selected state of the item. Shift+click selects a range of form items.
    Regards,
    Brian

  • How can I copy/paste without copying the formatting?

    How can I copy/paste without copying the formatting? For example, if I copy a sentence from a website and paste it on text editing program, it copies all the formatting as well. How can I turn that off?

    There is an app called "No Formatting" in the App Store. It is simple and works perfectly - it strips formatting from paste (Ctr-V). I needed it for Word and Excel, which don't have keyboard shortcuts for this. It can be toggled on and off from the Menu Bar.

  • How can i Copy paste from e-mail to Notebook or textbook

    How can i Copy pasta from some Content of e-mail to the notepad or textbook or word?

    hold your finger down in the body of the mail - the part you want to copy. a blue box will comeup and offer to 'select/select all' or something like that. choose the appropriate choice. If you only want part of it that bubble will have two handles that allow you to drag out the selection box.
    then hold your finger down again and another bubble will come up offering to cut/copy the words. choose copy
    then navigate to your notes app (not sure about the textbook, depends on whether or not it support it) and hold your finger down in an empty text area. you'll get another blue bubble offering to paste it. choose that and the words should appear. then save as appropriate.

  • How do I copy & paste from an email to another web site?

    How do I copy & paste from an email to another web site?

    Hello, not quite sure what it is you want to do.
    In Mail you can copy something by highlighting it & CMD+c, or Mail>Edit>Copy, but whether you can paste it to a website, not sure, but you could say paste in in a Reply here...
    Re: Grey Screen with spinning gear
    reply from duwatucan in Mac mini - View the full discussion
    Congratulations, your post has solved duwatucan's question.
    Learn more about the Apple Support Communities Reputation System
    Did this help? Go to the message, sign in, and reply
    Start a new discussion in the same community

  • How can I copy&paste a keyframe?

    How can I copy&paste a keyframe?
    Imagine : I decide, after having animated a scene, to freeze un object for a few seconds.
    I can, of course, create a new keyframe and digit the same size and position (but it takes a while).
    isn't there a simpler way : copy&paste a keyframe?
    Message was edited by: martinirosso

    I know there is an online help... if you don't know the answer to my question just say it
    That's the second time you've posted the same comment without actually contributing anything to your multiple threads. If you are incapable of following instructions, just say so. Meantime, see page 541.
    bogiesan

  • How can i copy,paste an Object ?

    How can i copy,paste an Object which i define by myself?

    implements Cloneable and define a clone method, for example
    public class ObjectA  implements Cloneable {
       // Data member
       String data;
       public ObjectA() {
       public void setData(String data) {
          this.data = data;
       public Object clone() {
           ObjectA tempObject = new ObjectA();
           tempObject.setData(this.data);
           return tempObject;
    }

  • How do you copy & paste a shape that is part of a "combined shape" to a new layer?

    How do you copy & paste a shape that is part of a "combined shape" to a new layer? For instance, I have a combined shape of 2 rectangles (not merged) and I want a copy of one of those rectangles as a new shape layer. I know I can duplicate the entire layer and delete the shape(s) I don't need - but I was wondering if there was an easier, more straightforward solution.

    Hi,
    What version of photoshop are you using?
    In photoshop cs6/cc you could use the Path Selection Tool to select one of the paths and then Layer via Copy
    (Ctrl+J or Cmd+J)

  • How to disable copy and paste from Mail to other applications

    Are there MDM or policy that can limit copy and paste?  Using MDM or ACU to lockdown the phone would be completely useless in regards to preventing data leakage unless copy/paste can be controlled.  MDM provider is advising that there is no API from Apple to allow locking this function.

    No. Not that I'm aware of. If you're that worried about people being able to copy and paste from email messages and having confidential data get 'into the wild' that way, then maybe you shouldn't be issuing or permitting the use of smart phones.

  • Disable "copy" & "paste" in a PDF as a means to protect content??

    Does XI have this ability or is there an add-on or...?

    Hello Ritz,
    The ultimate requirement is having options of solution. I have seen SAP application doing same by restricting user from Right click on the field (so that can't select copy) and now add to it restricting from using Ctrl (to avoid Crtl+v) while that field is focused. This may satisfy your need.
    So if you go with java script, you have to write java script code to restrict right click and ctrl key press. Java script part you can find on this link [http://www.articlesbase.com/programming-articles/how-to-restrict-copy-and-paste-using-javascript-1003078.html]
    To embedd this java script on Account Number fields onKeyDown and onMouseDown, use setOnKeyDown and setOnMouseDown methods for Account Number bean, but first check with getOnKeyDown and getOnMouseDown the existing funtion associated for those events. Then you have to decide if you can go ahead.
    Abdul Wahid

  • How to initiate copy/paste from menu in projector?

    I have a projector that uses a MenuMember to create a
    standard menu across the top i.e.:
    FILE EDIT HELP
    I have several text, (not field), but text members that are
    editable where the user inputs text information. Pretty basic and
    simple. If they use the keyboard commands for Copy, Paste, Select
    All & Cut those commands work fine in the text field and behave
    as you would normally expect.
    My question is, under my EDIT menu, I want to have the normal
    CUT,COPY,PASTE,SELECT ALL selections that you would expect to find.
    Right now I have no behaviors attached to them in my menuMember so
    they don't do anything if you go to EDIT -> PASTE.
    I have been looking for a handler to attach to the menuMember
    that would perform those functions. For example my menuMember text
    would look like this:
    menu: File
    Save/S | SaveHandler
    Quit | quit
    menu: Edit
    Copy/C | CopyHandler
    Paste/V | PasteHandler
    Select All/A | SelectAllHandler
    Cut/X | CutHandler
    So far I haven't been able to figure out any handler that
    would perform those functions upon the text field that has the
    focus. Oh sure, the manual keyboard equivalents WILL work, but most
    people also expect to see those choices in the edit menu as well
    and expect them to behave the same way.
    Any ideas on how to accomplish this?
    Thanks,
    Dan

    Hi,
    There's a 'publish' settings (or maybe a movie setting)
    called "editShortcutsenabled' - if true, command-c (etc) will work.
    There might be some tricky way of evoking these functions with
    Lingo (not sure if DMX2004 has some new lingo), but you can do it
    manually using Valentin's free clipboard xtra (
    http://staff.dasdeck.de/valentin/xtras/clipboard/)
    . For example, try these functions
    on SelectAll()
    whichSprite = the keyBoardFocusSprite
    if whichSprite > 0 then
    whichMember = sprite(whichSprite).member
    if voidP(whichMember) then exit
    mType = whichMember.type
    case (mType) of
    #field, #text:
    whichMember.selection = [0, whichMember.text.length]
    otherwise
    put "Dont know how to 'select all' in the case of a"
    && mType
    end case
    end if
    end
    on CopySelection ()
    whichSprite = the keyBoardFocusSprite
    if whichSprite > 0 then
    whichMember = sprite(whichSprite).member
    if voidP(whichMember) then exit
    mType = whichMember.type
    case (mType) of
    #field, #text:
    s = whichMember.selection
    txt = whichMember.text.char[s[1]..s[2]]
    clipSetData("TEXT", txt)
    otherwise
    put "Dont know how to copy from a" && mType
    end case
    end if
    end
    on CutSelection ()
    whichSprite = the keyBoardFocusSprite
    if whichSprite > 0 then
    whichMember = sprite(whichSprite).member
    if voidP(whichMember) then exit
    mType = whichMember.type
    case (mType) of
    #field, #text:
    s = whichMember.selection
    txt = whichMember.text.char[s[1]..s[2]]
    clipSetData("TEXT", txt)
    oldtext = whichMember.text
    if s[1] > 0 then
    newtext = oldtext.char[1..s[1]]
    newtext = newtext & oldtext.char[s[2]..oldtext.length]
    else
    if s[2] = 0 then
    newtext = oldtext
    else if s[2] = oldtext.length then
    newtext = ""
    else
    newtext = oldtext.char[s[2]..oldtext.length]
    end if
    end if
    whichMember.text = newtext
    otherwise
    put "Dont know how to copy from a" && mType
    end case
    end if
    end
    on PasteClipboard ()
    whichSprite = the keyBoardFocusSprite
    if whichSprite > 0 then
    whichMember = sprite(whichSprite).member
    if voidP(whichMember) then exit
    mType = whichMember.type
    case (mType) of
    #field, #text:
    txt = clipGetData("TEXT")
    InsertText(whichMember, txt)
    otherwise
    put "Dont know how to paste into a" && mType
    end case
    else
    put "what do I paste into?"
    end if
    end
    on InsertText (inMember, txt)
    s = inMember.selection
    oldtext = inMember.text
    if s[1] > 0 then
    newtext = oldtext.char[1..s[1]]
    newtext = newtext & txt
    newtext = newtext & oldtext.char[s[2]..oldtext.length]
    else
    if s[2] = 0 then
    newtext = txt & oldtext
    else if s[2] = oldtext.length then
    newtext = txt
    else
    newtext = txt & oldtext.char[s[2]..oldtext.length]
    end if
    end if
    inMember.text = newtext
    end

Maybe you are looking for

  • Issue in creation of plant related data at receiving server using BD10

    Hi all, This is regarding Material master creation using B10.I am using MATMAS05 message type for sending data from one system to another.Data is sent and received successfully.When i go in mm03 i can see all the views created successfully accept vie

  • How do I scan to my desktop with windows 8?

    I have a HP 5520 all in one.  Ever since i got my new computer with windows 8, I've been having trouble finding my scans. How can I scan a pic to my desktop?  thanks for any help!

  • Using Pages in Word environment

    I have a little problem. Pages is wonderful. I love it. The problem is, I work in a legal environment where only one copy of any give file can exist. I can't have multiple revisions of legal documents running around. While Pages will open a Word docu

  • Clarification about SAP CRM 5.0, SAPPHONE

    Hi Buddies, Long time no see. Curently we are considering integrating SAP with our telephony system  AVAYA. According to our vendor, there are 2 approaches: SAPPHONE or ICI connectors. It is clear that ICI connector will be based on latest version of

  • Problem in starting repository browser on owb 11g

    I have successfully installed oracle 11g release1. The associated Warehouse Builder works fine, everything is ok. Now I want to start Repository Browser. So, I must run the startowbbinst.bat file from directory oracle_home/owb/bin/win32, but I receiv