is it possible to add ref_contributions on variable attributes

srikanthvk
Giga Expert

I have been trying to use a macro on service catalog, I do not want to add it as a UI Macro variable type but want to show it beside a variable like in form fields.

Please help me if any of you tried it earlier. Thanks in Advance.

1 ACCEPTED SOLUTION

srikanthvk
Giga Expert

we have achieved this using one of the scripts provided in servicenowguru.com, below is the link


Refer section add_me UI macro for catalog variables


http://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/


View solution in original post

11 REPLIES 11

ref_contributions and field_decorations will not work in variable attributes.


sumeet_n
Kilo Guru

Also may be you can try field_decorations. I have not used it, but wiki says it is similar to ref_contributions.


srikanthvk
Giga Expert

we have achieved this using one of the scripts provided in servicenowguru.com, below is the link


Refer section add_me UI macro for catalog variables


http://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/


Weird. But you had asked for a solution with no UI macro .. Glad though you came up with a solution


it actually isnt a UI Macro, we get the control of element where we need to show the icon and add anchor tags to it.