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.

How to reload a UI Maro without loading the entire page?

Jay Gamblin
Mega Sage

I have a UI Macro and a formatter that shows some content from glide records.  I need to be able to refresh that content without having to reload the entire form.  Is that possible?

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

That may be possible. But when you want to change the macro content? Is it on the change of some field?

Can you explain your requirement here?

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Harsh Vardhan
Giga Patron

adding one thread here, hope it will help you. 

 

Refresh UI macro without reloading page

bhargav ram
Tera Contributor

Same Question
Did you get the answer?

Its been a while, but I think I wound up creating an iframe on the UI Macro then pointing it to a custom portal widget where I could control the content better.  Not ideal because the iframe needed to be dynamically sized to prevent scrollbars each time it was refreshed.  But it worked for what I needed.