- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:38 AM
Hello guys,
We have few catalog items which has ui macros and they work fine in platform ui but not in service portal, i have used OOB "Sc_category" page for displaying the catalog items, I came to know that ui macros are not supported in portal and we have to build the custom widget, Can anyone guide me how can i customize the widget to include the ui macro in the catalog form
Please guide me on this, till now i was playing around OOB widgets and do not have much idea on customising the widget
Any suggestions and guidance will be highly appreciated!
Thanks and Regards,
Bhavna
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 04:22 AM
Hi,
Please navigate Service Portal--> Widgets and click new to create a new widget.
Below is the sample widget to display a paragraph on a form
Include the newly created widget on catalog variable as stated below
You no need to include newly created widget in 'SC Catalog Item' . It should work after including the widget in the variable.
Hope this helps!
If I have answered your question, please mark my response as correct and/or helpful.
Thanks,
Suseela P.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:53 AM
Hi,
Please refer below thread.
Mark it correct and helpful.
Thanks
Bhagyashri Sorte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:53 AM
Hi Ramesh,
that's correct. you need to take the approach of widget to show macro
check below links for more help
How to display UI macro in service portal catalog form
Macro variables will not display on Service Portal without a macro widget
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:53 AM
Hey Bhavana,
Refer the Links, it might help you:
https://serviceportal.io/embedding-widgets-in-service-catalog/
Mark Correct and Helpful, if it helps!!!
Best Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 03:05 AM
Hi,
You can create new widget to display UI macro content display on portal. You no need to customise any OOB widget to include this, similar like UI macro create a widget and select the widget on variable. Please see below:
If I have answered your question, please mark my response as correct and/or helpful.
Thanks,
Suseela P.