Skip to Content

Service Request Items - Delete All action

Dear All,

I am quite new to the coding world and my business is requesting a way of being able to remove item lines from a service request in mass, rather than using the delete action per line. I understand that a new custom action must be written.

Currently within COD_SR_TI there is an eventhandler called 'ItemListRemoveRow', which has operation of RemoveRow in Target List /Root/Item.

What I would like to know if it is possible to remove Items in mass and any help with coding the action?

Many Thanks


itemlist.jpg (102.8 kB)
itemlistdelete.jpg (64.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 05, 2017 at 07:59 PM


    If you want to add the delete button in standard ticket TI, you have to do it via Extensibility explorer.

    First of all, you need to create an extension BO, and extend service request.

    once you have the XBO created, create a custom action under item node.

    for ex action DeleteAll;

    Activate and create script file for DeleteAll and implement a simple code:

    var Root = this.ToParent;

    Open the COD_SR_TI in UI designer and under extensibility explorer, add the action as shown below

    Save, activate and test.

    Thanks & regards


    Add comment
    10|10000 characters needed characters exceeded