Enabling barcode scanning in Mobile Agent Mobile App Builder

Kenton Dover
Mega Guru

Hey there all. I have been setting up the mobile agent app for our helpdesk to be able to scan barcodes and have that bring up the record so that they can perform actions on it. I have set up my own screen like this 

find_real_file.png

I added the barcode as a ui parameter and then added the data parameter mapping.

find_real_file.png

I then set up my list stream and added the data item to it. I configured the data item like this 

find_real_file.png

When I scan it gets the barcode but when I press submit it doesn't display anything. If I remove the condition or manually put a serial number in the condition it will display the appropriate records. 

 

I feel like I am just missing one piece and something just isn't connected somewhere. Any help is appreciated. 

 

Articles I have used. 

Tutorial: Create a bar code scanning applet

Assign a data item with parameters to a list screen

Configure a parametrized data item

 

1 ACCEPTED SOLUTION

Hey Paul thanks for the reply. I had to go into studio and pull it up there as the mobile app builder didnt have the option for me to link it. After pulling the applet up in studio one of the mappings was not done even though it was configured in mobile app builder. After configuring it in studio it works like a charm. Here is what it looks like now

find_real_file.png

Its weird that it has two data parameters. And in studio

find_real_file.png

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

Hi,

Have you checked this doc :https://docs.servicenow.com/en-US/bundle/sandiego-mobile/page/administer/tablet-mobile-ui/task/enabl...

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Hey Sandeep I did but didn't think it was relevant as its for the classic mobile app and not the mobile agent app

PaulSylo
Tera Sage
Tera Sage

Hey Kenton,

Just to confirm, I hope you have done the below steps already,

1. Defined Parameter definition in the data item

2. Defined UI Parameter in Applet

3. Mapped Parameter definition ( data Parameter) with UI Parameter in Screen UI Parameter mapping in the applet

Can you check this once? your steps are correct and I tried the same in the studio, it works for me. I think you are trying in app builder to check the right parameter name is used in the screen mapping UI & condition once(also right table)

Use this link for your reference: https://docs.servicenow.com/bundle/sandiego-mobile/page/administer/tablet-mobile-ui/concept/config-qr-lookup-applet-0.html#config-qr-lookup-applet-2 

 

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

Hey Paul thanks for the reply. I had to go into studio and pull it up there as the mobile app builder didnt have the option for me to link it. After pulling the applet up in studio one of the mappings was not done even though it was configured in mobile app builder. After configuring it in studio it works like a charm. Here is what it looks like now

find_real_file.png

Its weird that it has two data parameters. And in studio

find_real_file.png