Create new UI action in form context for incident

geogeorge
Tera Expert

I need to create new ui action in form context menu "create incident task" and it should be exactly working as click on new in related list for Incident task. I am not being able to find the code written for NEW button in incident task.

5 REPLIES 5

manjusha_
Kilo Sage

@geogeorge 

There is already  out of the box ui action Contex menu to create incident task 

check it with name-Create Incident Task

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

Thanks,

Manjusha Bangale

 

 

Hi @manjusha_ 

 

No such item present in our instance or pdi. 

Prince Arora
Tera Sage
Tera Sage

@geogeorge ,

 

You would have to do the following.

  1. Go to System UI > UI Actions
  2. Search for the UI action of New with the table of Global (Please don't modify the same button it will reflect all the places on the instance).
  3. You will get the appropriate table, copy the code from the button mentioned below:

PRINCE_ARORA_0-1680090500175.png

 

       4) Create a new button, choose the table "incident_task" and paste the code there and please check the "list context menu"/"form context menu" as true according to your requirement.

 

Please find the link here for more info HERE 

Please accept the solution if it works 🙂

@Prince Arora There is no table as incident_task. We are creating the tasks inside table "task"