Official Content

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:
GeneXus For SAP Systems Simple Worklist with global action Floorplan - Horizon sample

Note: The design guideline of this floorplan is at SAP's documentation.

How to create it

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:

GeneXusForSAPSystems_ListAndReportPattern - v18u4

You can choose the Simple Worklist with global action floorplan from several offered floorplans:

GeneXus For SAP Systems Simple Worklist with global action Select Floorplan v18u4

Learn how to apply a Floorplan to a Web Panel.

How to program it

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:

GoToEvent ProcessItems SimpleWorklist with global action - Fiori Horizon v18u4.

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:

ActionProcessItemsSimpleWorklistWithGlobalAction_2018420134414_1_png

How to customize it

The following section explains how to customize your Simple Worklist with global action.

Add/Modify/Delete actions

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).

UserAction SimpleWorklist with global action without the WWSD tab

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:

Add Grid UserAction SimpleWorklist with global action - Fiori for Web Horizon V18u4.

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.

Go To WebPanel SimpleWorklist with GlobalAction without the WWSD tab

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.

GotoEventsSectionSimpleWorklistWithGlobalAction_png

3. While there, you only have to create the Click event for your customized actions.

ClickEventSimpleWorklistWithGlobalAction_201842012578_1_png

Manage Filters

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.

Filter Node SimpleWorklist With GlobalAction without the WWSD tab

For more information, see GeneXus For SAP Filters.

Manage Orders

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.

Add orders to GridsActions node in Simple worklist with global action - Without WWSD.

After having created the Orders node, you have to right-click on Orders and then choose Add > Order to add a new one.

Add order in Orders node for Fiori FOr web - Simple worklist for global actions - Without WWSD

For each order you create, you have to complete its Name property:

Name property in orders node for Fiori for web, Simpleworklist with global action - Horizon v18u4

and you have to add the attribute(s) by which the list will be sorted:

Add attribute in order, Fiori for web pattern, Simple worklist for global action Fiori Horizon v18u4

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).

Ascending attribute in order attribute Simple worklist with global action- Horizon v18u4

Customize the information to be shown on the list

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.

Delete Attribute SimpleWorklist With Global Attribute without WWSD

To add attributes to be shown in the list, you have to right-click the Grid node, then select Add > GridAttribute:

Add Attribute SimpleWorklist With Global Actions - Horizon v18u4

Then, GeneXus will display a list of attributes for you to choose which ones you want to add. 

ListAttributesSimpleWorklistWithGlobalAction_png

See Also

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

 

Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant