Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Trouble invoking UI Macro

Michael Domke
Tera Guru

I've created two new UI Macros based on two built-in UI Macros: "macro_watch_list" and "lightweight_glide_list". My new UI Macros are called "macro_monitor_list" and "lightweight_glide_list_2".

In the new "macro_monitor_list" UI Macro I defined the jvar_reference to a monitor table I'm using and I changed the UI Macro to invoke the new "lightweight_glide_list_2" UI Macro.



Seems pretty straight forward. But, the "macro_monitor_list" UI Macro doesn't show. If I change the "macro_monitor_list" to invoke the original "lightweight_glide_list" UI Macro, it displays just fine. I haven't changed anything in my copied "lightweight_glide_list_2" UI Macro (it's an identical copy) so I'm at a loss as to why it doesn't render?

Any thoughts?

5 REPLIES 5

Akshat Chawla
Giga Expert

Hi

I have placed a UI Macro on my form. Bascially I am using the out of box ui macro "ok cancel button" but I have made a copy of this and customize a liitle bit.By clicking on the ok button some action is being performed n after that the form is being reload....

But i want that after perfoming the action by ui macro it should redirect to the parent page which is earlier open...

Can anyone help me on this .... I need it for my project ASAP


Regards
Akshat