Controlling Cursor/Focus on Phone/Tablet/Web Client while Scanning Barcodes

barandenizbarandeniz Posts: 44Member
Hello, some of our customer needs to use NAV with mobile devices in Warehouses. They want to make processes with bar code system. We have a problem on Mobile clients which is even you disable other fields, making false of editable and quick entry property of the page, after scanning the bar code, the cursor goes away or focuses other field. This behavior makes impossible to make continuous scanning such as Inventory Counting or Adding multiple Items(Bar codes) to i.e Transfer Order. User always have to click the bar code scanning field after scanning a bar code which is very unproductive and time consuming action. Any ideas to resolve this issue?

Best Answers

  • barandenizbarandeniz Posts: 44
    Accepted Answer
    We got an answer from Microsoft. Bad news..
    Hello,
    Thanks for your feedback.

    I am providing you a copy of our scope agreement for your issue.
    It always not that easy to sell the message about the design limitations of our product Dynamics NAV.
    But we have to handle limitations and boundaries and this s on of them so I hope you at least appreciate that we can give her a clear and solid answer about the problems and limitations which comes with this.

    Issue Definition:
    You are running NAV 2017 with the build 15601 from CU 4 On the NAV 2017 Phone/Tablet Client, after barcode scanning, the barcode field automatically looses it’s focus after barcode scanner’s keystroke. This behavior does not exist on the RTC, so the customer can do serial scanning.

    Hence, we need a solution to keep the cursor and the focus on the barcode field after barcode scanning for a customer to streamline their barcode scanning process.
    Scope Agreement:
    The case is considered as resolved when we clarified the current design on the NAV App and if your plans can be accomplished with the current design of the NAV app.

    We got this question a lot of times in the past and we discussed this with the product team.

    Currently your reported behavior is the intended design of the NAV app.

    “We intentionally do not set focus to the first field on touch devices, because this always results in the soft keyboard appearing. This could be on a phone, tablet or hybrid mobile device. This is a conscious decision based on user studies, where we see the soft keyboard is distracting and space-consuming upon entering the page, especially given that most users still need to swipe to locate the field they would like to edit. In most cases it also results in having to press the Back button twice to exit the page.”

    We reported this problem as feature change request and this is still open as deliverable by the development to have this maybe with a special configuration switch added to control the behavior for the future versions but there are no short terms to have this working.

    But for now and the current versions this is not possible.

    Best Regards,
    Sebastian

Answers

  • barandenizbarandeniz Posts: 44Member
    Accepted Answer
    We got an answer from Microsoft. Bad news..
    Hello,
    Thanks for your feedback.

    I am providing you a copy of our scope agreement for your issue.
    It always not that easy to sell the message about the design limitations of our product Dynamics NAV.
    But we have to handle limitations and boundaries and this s on of them so I hope you at least appreciate that we can give her a clear and solid answer about the problems and limitations which comes with this.

    Issue Definition:
    You are running NAV 2017 with the build 15601 from CU 4 On the NAV 2017 Phone/Tablet Client, after barcode scanning, the barcode field automatically looses it’s focus after barcode scanner’s keystroke. This behavior does not exist on the RTC, so the customer can do serial scanning.

    Hence, we need a solution to keep the cursor and the focus on the barcode field after barcode scanning for a customer to streamline their barcode scanning process.
    Scope Agreement:
    The case is considered as resolved when we clarified the current design on the NAV App and if your plans can be accomplished with the current design of the NAV app.

    We got this question a lot of times in the past and we discussed this with the product team.

    Currently your reported behavior is the intended design of the NAV app.

    “We intentionally do not set focus to the first field on touch devices, because this always results in the soft keyboard appearing. This could be on a phone, tablet or hybrid mobile device. This is a conscious decision based on user studies, where we see the soft keyboard is distracting and space-consuming upon entering the page, especially given that most users still need to swipe to locate the field they would like to edit. In most cases it also results in having to press the Back button twice to exit the page.”

    We reported this problem as feature change request and this is still open as deliverable by the development to have this maybe with a special configuration switch added to control the behavior for the future versions but there are no short terms to have this working.

    But for now and the current versions this is not possible.

    Best Regards,
    Sebastian
  • BrimstarBrimstar Posts: 14Member
    1. Lovely, I just wrote a little module for our system using Barcodes and I'm going to need that functionality.

    2. I'd say an add-on using javascript should be possible to set the focus if required. It is certainly a lot more complicated, but assuming you can set it up to call

    document.getElementByID('Barcode Box ID').focus();

    at the end of your routine for processing the barcode that should solve your focus issue.

    On a different note, I find this to be a horrible choice and the original behavior should really be made an option.
  • barandenizbarandeniz Posts: 44Member
    Brimstar wrote: »
    1. Lovely, I just wrote a little module for our system using Barcodes and I'm going to need that functionality.

    2. I'd say an add-on using javascript should be possible to set the focus if required. It is certainly a lot more complicated, but assuming you can set it up to call

    document.getElementByID('Barcode Box ID').focus();

    at the end of your routine for processing the barcode that should solve your focus issue.

    On a different note, I find this to be a horrible choice and the original behavior should really be made an option.

    Thank for you advice. I am a bit new to development side, which variable should i use in order to use document variable. Because you can not use any ".net" objects on mobile clients. If it should be an add in which deployed to server side, can i find it on internet?
  • TimSimmondsTimSimmonds Posts: 44Member
    Hi,
    I was wondering if the OP had resolved their issue? We have implemented a "control add-in" using similiar javascript, as per Barandeniz's suggestion, to keep focus on a "scanning entry" field in the mobile APP. It works well in most browsers and on Android devices... it is just not supported on IOS devices. Any one had any luck with autofocus on an iPhone/iPad?
    Thanks for any suggestions...
Sign In or Register to comment.