- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 05:50 AM
Following UI action not working on list view. Need help with that............
it gives just alert true then no effects on records.
Message was edited by: Abhishek Gardade
Message was edited by: Abhishek Gardade
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2018 03:53 AM
Create UI action named Resolve ALL and write following script in the ui action.
check the LIST CHOICE Checkbox
current.incident_state ='6';
current.u _cause='Other';
current.u_reso_method='Self Service';
current.close_notes = 'Close notes you want';
current.update();
action.setRedirectURL(current);
In above script change the label depeding upon your field names.
Thanks,
Vishal Khandve
Mark answer correct if you found this helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 05:53 AM
Hi,
You are calling setFields() method from client which should use client side APIs.
Current is Server side API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 06:00 AM
I was uploaded the wrong screenshot. Check it now, Still, it's not working. Is their any Alternate way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2018 03:53 AM
Create UI action named Resolve ALL and write following script in the ui action.
check the LIST CHOICE Checkbox
current.incident_state ='6';
current.u _cause='Other';
current.u_reso_method='Self Service';
current.close_notes = 'Close notes you want';
current.update();
action.setRedirectURL(current);
In above script change the label depeding upon your field names.
Thanks,
Vishal Khandve
Mark answer correct if you found this helpful