The Simple Worklist with global action Floorplan is a set of layouts that allows you to query and view data and offers the possibility of applying a certain action to a group of items (to select the items, a checkbox is offered for each line).
This article describes you how to apply it to a Transaction object or Web Panel object to obtain a page like the following:
Look at the Patterns tab of a Transaction in your Knowledge Base. If you have never applied the Fiori for Web pattern in your KB before, read this article: HowTo: Apply the Fiori for Web pattern for the first time. Otherwise, by positioning on the Fiori for Web Pattern tab, check the "Apply this pattern on save" checkbox and select the offered link to choose a floorplan:
You can choose the Simple Worklist with global action floorplan from several offered floorplans:
Learn how to apply a Floorplan to a Web Panel.
By default, the global action comes unset. To set it, you have to right-click the ProcessItems User action on the Simple Worklist with global action tab, and select the 'Go to Event' option:
This will open the Simple Worklist with global action Web Panel on its Events section and automatically created the Click event of the ProcessItems action:
The following section explains how to customize your Simple Worklist with global action.
You can add, modify or delete actions by positioning on the Simple Worklist with global action tab, but if you want to do this, you may prefer the GeneXus For SAP Systems - List Report Floorplan
To add actions, you have to right-click the GridActions node and then, select Add > UserAction in the contextual menu. The action will be added outside the grid (in the section where the button to insert is located).
To modify these actions, you can right-click on the action node and select the 'Go to Event' option. Then, you can modify the event code, but remember to do it outside the code generated by GeneXus (to avoid being overwritten by GeneXus).
If you want to add an action inside the grid for every line, you have to right-click on the Grid node and select Add > UserAction in the contextual menu:
To modify these actions, you have to follow the next steps:
1. Right-click on the Simple Worklist with global action tab and select Open YourObjectNameSimpleWorklistwithglobalaction.
Note: Temporarily, the Web Panel's name is not WebPanelNameSimpleWorklistwithglobalaction, but it is WebPanelNameListReport.
2. Once in the Simple Worklist with global action Web Panel, go to the Events Section.
3. While there, you only have to create the Click event for your customized actions.
You can manage the filters by positioning on the Simple Worklist with global action tab.
To add filters, you have to right-click on the GridsActions node and then select Add in the contextual menu and then choose the kind of filter you want.
For more information, see GeneXus For SAP Filters.
You can manage the Orders by positioning on the Simple Worklist with global action tab. Once there, you have to right-click on the GridActions node and then select Add > Orders.
After having created the Orders node, you have to right-click on Orders and then choose Add > Order to add a new one.
For each order you create, you have to complete its Name property:
and you have to add the attribute(s) by which the list will be sorted:
For each attribute, you can change the Ascending property, to choose whether you want the list to be sorted in ascending or descending order considering that attribute(s) value(s).
You can manage the attributes to show by positioning on the Simple Worklist with global action tab.
To prevent attributes from being shown on the Simple Worklist with global action, you have to right-click the attribute and select Delete. Don't worry, it will be deleted from the Web Panel, not from the Transaction.
To add attributes to be shown in the list, you have to right-click the Grid node, then select Add > GridAttribute:
Then, GeneXus will display a list of attributes for you to choose which ones you want to add.
GeneXus For SAP Systems - FioriLaunchpad object
GeneXus For SAP Systems - List Report Floorplan
GeneXus For SAP Systems - Simple Worklist Floorplan
GeneXus For SAP Systems - KPI Worklist Floorplan
GeneXus For SAP Systems - Split Screen Master List Floorplan
GeneXus For SAP Systems - Split Screen Master List with amount Floorplan
GeneXus For SAP Systems - Wizard Floorplan