UI Actions not working on the FORM widget in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 08:29 AM
Hi,
The UI Actions on the FORM widget dont update the fields as per its server side script. The widget i am using is just a clone of the Form widget and still the normal server side UI Action dont work. When clicked the Updated message shows up in green on the top and nothing happens to the fields on the form neither the changes made to the form get saved.
Also note that these UI Actions work smooth and fine on the legacy view(Service Now normal view)
Any idea what should have gone wrong?
Thanks,
Shahid
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 09:02 AM
yes, in the UI Action script field. Will there be any issue in that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 10:18 AM
Can you refer following link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 10:35 AM
Thanks for the link but my problem is not with redirecting. My UI Action does not save the form at all on the portal but when you click the same button on the normal view i.e legacy servicenow view it works just fine. And this is where i am stuck. i am using the below two lines in my code:-
current.update();
action.setRedirectURL(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 12:47 PM
Refer below link:
https://community.servicenow.com/community?id=community_question&sys_id=3c7083e1db98dbc01dcaf3231f9619c0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 01:04 PM
Commented that part out but no luck. 😞