How to add ui action buttons on esc portal

Darshana2
Tera Contributor

I need to add UI action button Accept and Reject in standard tickect tab on esc portal

4 REPLIES 4

Community Alums
Not applicable

Hi @Darshana2 ,

Add a Task tab on the Standard Ticket page to let employees view the tasks that are assigned to them by the agents.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Standard Ticket > Standard Ticket Configuration.
  2. Click your service-specific table to open it.
  3. In the Tabs Configurations related list, click New.
  4. On the Tab configuration form, in the Type field, select Custom.
  5. Enter the Tab name.
    For example, Tasks/To-dos.
  6. Add the appropriate filter conditions to control the visibility of the tab.
    For example, set Sys ID to javascript:new sn_uni_task.UniversalTaskUtils().hasTasksToShow(current) to make the task tab visible only if there tasks are assigned to the employee. 
     

     

  7. In the Widget field, add a widget.
    Note: The Uni Task Parent is the default widget that you can use to add the Universal Task tab in the Standard Ticket.
  8. Click Submit.

Else, You can do it on the widget level , for example :

You will have to clone this widget and use it as you need to customize in your portal page.

OOTB the actions are not shown for 

if(data.table=='customer_project' || data.table=='customer_project_task' || data.table == 'sn_customerservice_task')
data.showCaseAction = false;

Go thru the Widget "HTML", "Client script" and "Server script" to make your modifications after cloning it.

Refer to this link for approach : https://serviceportal.io/create-custom-action-buttons-service-portal/

 

I need Button Accept and Reject near ActionsMicrosoftTeams-image (7).png

Hi Darshana,

 

Did you manage to get this working? I also need something like this

 

Thanks

Is it available OOTB?