Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

QR code generation on user table

dudekulasus
Tera Contributor

on Every user profile should have a QR code attached to it. Whenever any use scans that QR code the user details like email , first name last name and phone number should be displayed. 

This functionality should be done without any third party tool.

 

3 REPLIES 3

SohamTipnis
Mega Sage

Hi @dudekulasus,

 

You can do this cleanly inside ServiceNow without using any external tools.

Create a simple page (UI Page or Service Portal page) that takes a user sys_id in the URL and fetches details like name, email, and phone using GlideRecord. Then, generate a QR code on the user form that points to this page with that sys_id in the link.

Add the QR code using a UI Macro or formatter on the user profile so each user automatically gets their own code. When someone scans it, it opens the page and shows the user details.

Just make sure you control access properly (roles or token-based checks) so sensitive information isn’t exposed publicly.

 

Let me know if these help!! 😉

 

If you find my answer useful, please mark it as Helpful and Correct. ‌‌‌‌😊


Regards,
Soham Tipnis
ServiceNow Developer || Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10

Tanushree Maiti
Kilo Patron

Hi @dudekulasus ,

 

I do not think without 3rd party api/app , it is feasible .

 

Option1Now Mobile QR Code for Entry

This application generates QR code based on the logged in user's email.

1. This application contains widget, which is integrated in now mobile through /mesp portal.

2. The widget has instance options which allow the developers to generate QR code based on any field in user table.(currently email)

3. This application can be used as prototype to allow entry in organizations when integrated with badge scanning devices at organization entry gates.

 

Option2 :

https://www.servicenow.com/community/api-insights-forum/qr-code-generator-in-servicenow-using-api-ca...

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@dudekulasus 

you need to use external javascript library for this

check below

QR code code generator - ServiceNow 

QR Code Generator in ServiceNow Using API Call - Article 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader