Hello,
I am trying to set up a rule in datawedge in order to enter "Certain Data" in a website form.
What works so far: I am able to set rules to fill a fixed amount of Fields with a string of code, where the fields are divided by TAB
Now I would like to set up a fresh environment in firefox, like the focus should be always be on the first Textfield at Start of the scan etc.
This can be accomplished by simply closing all firefox Tabs as firefox is set up with the correct startpage already.
When the page is loaded, the desired text field is already in focus.
Ideas? Are there Actions which I could send with the Intent Feature in DataWedge to accomplish this?
thanks
Hi, you would need to write your web page to ensure that the desired field always has focus when the page is loaded, there is no way to do this via DataWedge or an Intent. Typically this would be done in JavaScript with the DOM focus() method
Points: 1
You voted ‘up’
This seems to already be the case, I just need FF to start with a new reloaded page when the Barcode is scanned. I thought that there may be Actions or intents to do this.
Points: 0
You voted ‘up’
No, you can't configure an application to be launched when a barcode is scanned but you could remap a device button to launch an app when it is pressed, https://techdocs.zebra.com/mx/keymappingmgr/.
Points: 0
You voted ‘up’
But thats not the desired function.
I see that you can script activities in data wedge etc. Cant you send an start activity to "org.mozilla.firefox" to start it?
Points: 0
You voted ‘up’
Hi, yes, I did manage to get this to work. You need to specify the action as "android.intent.action.MAIN" and the component to be Firefox. As long as the Intent Delivery is startActivity then it will launch Firefox. This is a profile-level setting though.
Points: 1
You voted ‘up’
Great I will try this out.
1.)Could you describe what I should enter in the Datawedge Settings exactly?
2.)Is there also a "stop activity" counterpart or something?
3.) Could you elaborate, what do you mean with profile-level?
Points: 0
You voted ‘up’
Additional Help please, issue ist still not solved
Points: 0
You voted ‘up’
At a push, it is possible to configure DataWedge to automatically launch FireFox whenever it scans any barcode but the kind of configuration you are asking for (to then dynamically start scanning into input fields) is not possble I'm afraid.
Points: 0
You voted ‘up’