How to add a Service Portal widget to UI 16 Form

nborowiak
Tera Contributor

Hi Community,

 

I'd like to implement a Service Portal widget into a native UI form (HR Case, for example). I'm stuck because even though I created the formatted and added it to the form, I have no idea how the UI Macro should look like. 

This is how it looks in the Service Portal and everything works and loads properly:

current_calculate.png

 

In the end, I want to get the calculate widget into the form as shown here (last picture):

calculate.png

Any help or tips on this is greatly appreciated. I attempted to follow along but was unsuccessful at producing the same result as this author: 

https://jace.pro/post/2020-03-25-sp-widget-on-ui16/

View solution in original post

 

Thanks in advance!

2 REPLIES 2

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @nborowiak ,

Please Refer below Blog for that.

Using a SP Widget on Ui16 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Jace Benson
Mega Sage

What did you do to try it?  Are you getting any errors in the console?

Does anything render in the HTML?

Reach out on Slack (sndevs.com) and I'll give you a hand.