UI page (j:set)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 05:01 AM
Hi folks,
Where can i find this data in assessment_take2 UI page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 05:25 AM
Hi @Community Alums
In the Server Script sections, look for lines that retrieve parameters, typically using gs.getProperty or gs.getParameter.
I hope my answer helps you to resolve your issue, if yes mark my answer helpful & correct.
thank you
Rajesh chopade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 06:07 AM
tried this already, i didn't find this in client, processing script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 06:42 AM
Hi @Community Alums
the value of ${sysparm_hide_save} is likely coming from a query parameter or a variable passed to the UI page.
Check URL Parameters:
- When a UI page is rendered, it often receives parameters via the URL. Inspect the URL in the browser to see if there is a sysparm_hide_save parameter present.
- Example URL: https://instance.service-now.com/your_ui_page.do?sysparm_hide_save=true
Check Client Scripts and UI Actions:
- Client scripts or UI actions might be passing this parameter. Look for any scripts or actions that navigate to the UI page and append sysparm_hide_save to the URL.
Client Script Example:
function navigateToUIPage() {
var url = '/your_ui_page.do?sysparm_hide_save=true';
window.location = url;
}
UI Action Example
var url = new GlideURL('your_ui_page.do');
url.addParam('sysparm_hide_save', 'true');
action.setRedirectURL(url.toString());
Check Server-Side Scripts:
Server-side scripts such as Script Includes, Business Rules, or Processors might set this parameter.
var gr = new GlideRecord('your_table');
if (gr.get('sys_id', current.sys_id)) {
gs.addInfoMessage('Navigating to UI page');
gs.setRedirect('/your_ui_page.do?sysparm_hide_save=true');
}
I hope my answer helps you to resolve your issue, if yes mark my answer helpful & correct.
thank you
Rajesh chopade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 03:19 AM