Map enter key to inquire function

 3 Replies
 0 Subscribed to this topic
 13 Subscribed to this forum
Sort:
Author
Messages
pmeckes
Basic Member
Posts: 24
Basic Member

    How can I map the enter key to the inquire function in portal ?  We are Iseries 9005 env. E.g. In Version 8, HR11 you enter the company and emp# and press enter, the screen was populated. Version 9 you have to press the inquire button.....I found an article in the KB that says to edit the hotkeys.xml. Looked at my hotkeys.xml and didn't see it ?

     

    Shane Jones
    Veteran Member
    Posts: 460
    Veteran Member

      It is in hotkeys.xml.... We did this for a while in our test system but I found it a bit difficult to maintain following updates and patches.   Also, I remember running into some other strange things about using ENTER.   It worked but we decided not to implement in production.  

      The file was in:

      \\SERVER\c$\linte5\apps\persistdata...data\forms

      The entry changes we made were:  (tags changed so it would show in forum - make sure you use the approriate XML tags)

      ^!-- JFG SMJ removed line ^EVENT labelid="lblOpenField" code="13" alt="0" ctrl="0" shift="0" action="doOpenField" incontext="1" /^  --^

      ^!-- JFG SMJ removed line ^EVENT labelid="lblDoInq" code="73" alt="0" ctrl="1" shift="1" action="doFuncInq" incontext="0" /^  --^

      ^!-- JFG - SMJ Added two lines to replace lines removed above Portal hotkeys per Lawson Community Article: 'Portal - enter key default' --^
        ^EVENT labelid="lblOpenField" code="73" alt="0" ctrl="1" shift="1" action="doOpenField" incontext="1" /^
        ^EVENT labelid="lblDoInq" code="13" alt="0" ctrl="0" shift="0" action="doFunInq" incontext="0" /^

      MAKE SURE YOU DO THIS IN TEST FIRST.   One additional thing to share is that we found that using something like SHIFT+ENTER works better and it is "supported" by lawson without customizing.   It is JUST one more key to hit while hitting enter.

      Shane Jones
      Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
      Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
      ** Teach others to fish...
      pmeckes
      Basic Member
      Posts: 24
      Basic Member

        Shane,

        Thanks for the tip. We tried it and it worked. Our Hr department is ecstatic !

        Patti

        Shane Jones
        Veteran Member
        Posts: 460
        Veteran Member
          Patti, Glad it helped.... The next thing you need to do is change some of the portal hot keys... Maybe a combination of SHIFT+ENTER to inquire..... and the labels of the fields when you are using a field for something other than it was intended.

          Again - Glad I could help
          Shane Jones
          Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
          Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
          ** Teach others to fish...