UI action on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 09:34 AM
Hello Snow Community,
UI action are not working on service portal helsinki (page ticket).
I found that we have to code our own widget, so I did something with few button ng-show to display etc etc..
I would like to call getActionName in order to launch the proper ui action for the right button, but I can't use g_form on client side script on the portal.
Someone i've done this ?
Or do you know a better way to handle ui action on service portal page ?
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 10:50 AM
Hi Romain,
UI Actions are partially supported in Service Portal, but only server side actions. If you mark a ui action as client it will not show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 01:02 AM
I did an ui action with :
current.state= 10;
current.approval="not requested";
current.u_wf_stage="At study";
current.update();
action.setRedirectURL(current);
Client unchecked but nothing is showing.
I found many posts about it but there is no workaround.
Accept someone who said you can create your own button with bootstrap and call getActionName to trigged the right ui action, but I need to use g_form and it's not working on client side portal script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 01:06 AM
I'm talking about this page : "ticket"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 06:31 AM
Ahh ok. That page is not actually showing the form widget which shows the ui action, but it's a collection of widgets that build the different parts of the form. You would have to clone one of those widgets and add code to it for your button.