How to use variable item Custom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 01:16 PM
I have created a Custom Variable but the value is not saved. Has anyone ever used custom variables? can you give me an example
I have added the Widget that I made
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 06:12 PM
Hi,
with custom variables you add widgets and macros to the variables and those will be displayed in forms
macro is for native ui
widget is for service portal
create a Macro and add the macro in the macro field (if you just populate this, it only works in native ui not in service portal)
create a widget and add the widget in the widget field (if you just populate this, it only works in portal not in Native UI)
Custom
This variable inserts a UI macro into the catalog item.
UI macros in the service catalog do not support the following glide_list functions: clickthrough, slushbucket editing, and email field.
- Use phase one Jelly only for any UI macros added as variables. Phase two Jelly within the macro is not processed and appears on the page as standard content.
- This variable is not yet supported on Classic Mobile devices.
- This variable is supported in Service Portal through widgets. Create a widget with the same functionality as that of a macro and link the widget with the variable.
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya