Help Needed: Unable to Render Custom UI for Lead Status Path in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 03:12 AM
Hi Community,
I hope you're doing well.
I'm currently working on replicating the Salesforce-style Lead Status Path UI in the ServiceNow Service Portal. I’ve followed these steps so far:
Created a custom table (x_your_scope_lead) and added a field to track the lead status (e.g., Open, Contacted, Converted).
Built a custom widget (Lead Status Path) using the Service Portal widget editor, with HTML, CSS, and client/server scripts to display the visual stages.
Created a new Service Portal page (lead_status_page) and added the custom widget to it.
Accessed the page using this URL format:
bashhttps://dev187891.service-now.com/sp?id=lead_status_page&sys_id=5ccc0ca983766210e8a7fbc6feaad39f
However, I'm not getting the expected UI rendering when I open the page. The widget loads, but the visual path (stage bar) doesn’t appear properly or doesn’t behave as expected.
I’d really appreciate it if anyone could help me figure out:
What might have gone wrong?
Are there specific properties, script includes, or widget configurations I should double-check?
Any best practices or sample widget code that might help?
Thank you in advance for your suggestions and guidance!
Best regards,
Rohit