Help Needed: Unable to Render Custom UI for Lead Status Path in Service Portal

RohitPapann
Tera Contributor

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:

  1. Created a custom table (x_your_scope_lead) and added a field to track the lead status (e.g., Open, Contacted, Converted).

  2. 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.

  3. Created a new Service Portal page (lead_status_page) and added the custom widget to it.

  4. Accessed the page using this URL format:

    bash
     
    https://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

0 REPLIES 0