- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 10:35 PM
by clicking on a button the form should be reloaded. what is the ui action for this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 11:51 PM
When you right click on the header bar on an incident/change/problem/etc you see a right click context menu which has an option called "Reload form". That option comes is defined in UI Macro called "context_form_header" and to reload the form uses the following code:
<script>
gcm.addHref("${gs.getMessage('Reload form')}", "reloadWindow(window);");
</script>
The reloadWindow function comes from bootstrap library.
Hope this helps.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 11:51 PM
When you right click on the header bar on an incident/change/problem/etc you see a right click context menu which has an option called "Reload form". That option comes is defined in UI Macro called "context_form_header" and to reload the form uses the following code:
<script>
gcm.addHref("${gs.getMessage('Reload form')}", "reloadWindow(window);");
</script>
The reloadWindow function comes from bootstrap library.
Hope this helps.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2015 12:02 AM
You can check this below article from SN Guru.
Reload a Form or Related list from a Client Script - ServiceNow Guru
Thanks,
Fathah
Abdul Fathah
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.