Skip to Content
avatar image
Former Member

Delete action on custom BO's OWL's list

1. Open you custom OWL in UI Designer.

2. Go in the Toolbox, under Layout Elements select and drag “Layout Stack Panel” between columns.

3. Keeping the new column selected, on Properties :

a. Under “Text Information”, select the down arrow of “Label” to rename it with “Action” and then click Ok.

b. Under “Behaviour” change “DisplayType” to “Icon” and change “Default Icon” to “DeleteBin”

c. Under “Events”, on “OnClick” field, select “…NewEventHandler…”.

d. Create a new event handler with two operations. The first with “Type:” List, “Operation”: “Remove row” and “TargetList:” “/Root/DataList”. The second operation with “Type:” “WindowsAction” and “ActionType:” “Save”. Click Ok.

4. Click on Save & Activate and the task is done.

1.jpg (73.6 kB)
2.jpg (27.3 kB)
4.jpg (125.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 08, 2016 at 02:37 PM

    Hi Gabriele,

    This works fine with Silverlight but with Fiori I have problems the button is not shown and also nothing is triggerd.

    Do you have experience with this - difference between Silverlight and Fiori.

    Regards,

    Jeroen


    Add comment
    10|10000 characters needed characters exceeded