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 ?
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,
Thanks for the tip. We tried it and it worked. Our Hr department is ecstatic !
Patti