Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Add QR Codes to home page for now mobile app

Raahul2
Tera Contributor

Hi All,

I have a question please. can we add QR Codes to home page for mobile app. Its for ow Mobile app and its not for bar code scanning. I want to create a QR code in Servicenow. Do we have a functionality to create a QR code?

Any help would be appreciated

Best regards,

RB

6 REPLIES 6

ben_hollifield
Tera Guru

Hey @Raahul2 - There is no native capability for generating QR codes in ServiceNow. I'm sure folks have put together custom solutions to accomplish this with some effort. For a plug-and-play solution, Yansa Labs has a Barcode & QR Code Generator app available on the ServiceNow Store. It includes a Service Portal widget that can be used to render a QR Code for mobile use on the app.

 

Links below, in case it's helpful!

RaghavSh
Mega Patron

OOB there is no such functionality but here is what I have done for learning in past, you can follow the same.

 

  1. Google javascript code to generate QR code or create your QR code.
  2. Create a widget and show the QR code in HTML part of the widget.
  3. Create a portal page and add the widget in step 2 to that page and try the page, it will show you the QR.
  4. Now if you are aware we can show portal pages in now mobile using /mesp?id-page_id created in step 3.
  5. Open this page through applet launcher (through mobile app builder).

Refer : https://stackoverflow.com/questions/30115242/generating-a-simple-qr-code-with-just-html 


Raghav
MVP 2023
LinkedIn

@Raahul2 did you try this?


Raghav
MVP 2023
LinkedIn

Raahul2
Tera Contributor

Hello Raghav,

Thank you for the help!! Apologies for the delay response.

I have tried creating a QR code but everywhere its giving me a trial version and I was not able to create one. Iam still looking for options to create one.

Best regards,