How to call fill function by pressing enter key?
I'm trying to implement following trick to SD.open.interaction form for SM 9.21.
1) Service Desk people writes for Contact field (techically callback.contact) *searchkey* (yeah, asterisks are the wildcards, not typos)
2) Next: Help Desk people presses enter and voila, the fill function should be called and if there are many hits, QBE list should be shown and if there is a single hit, callback.contact should contain the name of that user which matches the search.
The problem is how to call fill function. There seems to be no way to implement JavaSciprt events on Service Manager fields, so there must be another and unintuitive way to do this!?
The pressing of the Enter key is associated with displayoption 0.
So simply create a copy of displayoption Fill (9) for that displayscreen and change the option from 9 to 0.
Now fill will work for F9 and Enter.
I cant get this to work on SM 9.3
I copied the displayoption for cc.first_fill (option 9) to cc.first_fill_0 and option 0 .. no luck
Am I doing something wrong?
For the search screen you have to change the "Fill Button ID" property of each field from 9 to 0.
Assign Kudo, if found post useful and mark it accepted if solves the issue.