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-24-2016 12:36 AM
I finally used from page instead of ticket page in order to have ui action available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:04 AM
Hi Ramain,
How did you achieved this, for me also I am not able to see my UI action on service portal page of Requested Item.
Help me.
I have created a ui action on the Requested Item on the form but not visible on service portal side.
Thanks,
Jeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:09 AM
You have two solutions :
You change 'ticket' in your url by 'form' and you got the ui action on the bottom
Or you have to build your own widget to display button 'like ui action' and to something on click.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:14 AM
but the problem is I have created that UI action for a UI page. On click of that UI Action one pop window is opening so we need to fill and then we need to save it.
UI action for POP windw- we are calling a UI_Page inside that...
function popupDispList() {
var documentId = g_form.getValue("********");
var sysID = g_form.getUniqueValue();
var dialog = new GlideDialogWindow("UI_Page");
dialog.setTitle("Publish");
dialog.setColor("LightGrey");
dialog.setSize(500,500);
dialog.setPreference("sysparm_ritm_id", sysID);
dialog.setPreference("*******", ******);
dialog.render();
}
Thanks,
Jeet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:21 AM
I never used UI Page in service portal,
I built my own widget with angular, I'm not sure you can use this with this way.