Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 08:06 PM
I have customized fields on Incident form. I have added those fields on Incident view sow_new_record. Client Script and UI policy works on those field in Incident form, but it doesn't work on the view sow_new_record.
Incident default view is in scope Global , the view sow_new_record is in scope incidrnt management for service operations workspace. Is this the reason?
Second question:
I create a client script onChange:
g_form.clearValue('u_data');
g_form.showFieldMsg('u_data', 'Please enter a valid data in the xxx-xxx-xxxx format', 'error');
when user enter the data in a wrong format. Data will be clear. But the message doesn't stay. It just flashes and then disappear. How to resolve this issue?
Thanks!
Thanks!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 10:10 PM
below should work to get the view name in the client script dynamically.
"var view = g_form.getViewName()"
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 10:10 PM
below should work to get the view name in the client script dynamically.
"var view = g_form.getViewName()"