GeneXus For SAP Systems Simple Worklist with global action Floorplan

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 or Web Panel to obtain a page like the following:

SimpleWorklistwithglobalactionWebView_png

You can see this sample running here. It has been created using this Knowledge Base (KB).

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 KB. If you have never applied the Fiori for Web pattern in your KB yet, read here. Otherwise, being positioned 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_Image83

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

SelectSimpleWorklistWithGlobalAction_png

This floorplan can be applied to a Transaction object or a Web Panel object.

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:

GoToEventProcessItemsSimpleWorklsitwithglobalaction_png

This would 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 being positioned 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 in the contextual menu Add / UserAction. The action will be added outside the grid (in the section where is located the button to insert).

UserActionSimpleWorklistwithglobalaction_png

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 in the contextual menu Add / UserAction:

AddGridUserActionSimpleWorklistwithglobalaction_png

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.

GoToWebPanelSimpleWorklistwithGlobalAction_png

Note: Temporarily the Web Panel's name is not WebPanelNameSimpleWorklistwithglobalaction, but it is WebPanelNameListReport.

2. Being in the Simple Worklist with global action Web Panel, go to the Events Section.

GotoEventsSectionSimpleWorklistWithGlobalAction_png

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

ClickEventSimpleWorklistWithGlobalAction_201842012578_1_png

 

Manage Filters

You can manage the filters being positioned on the Simple Worklist with global action tab.

To add filters, you have to right-click on the Table Filter node and then select in the contextual menu Add and select the kind of filter you want.

FilterNodeSimpleWorklistWithGlobalAction_201842013128_1_png

For more information see GeneXus For SAP Filters

 

Customize the information to be shown on the list

You can manage the attributes to show being positioned 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.

DeleteAttributeSimpleWorklistWithGlobalAttribute_png

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

AddAttributeSimpleWorklistWithGlobalAttributes_png

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

ListAttributesSimpleWorklistWithGlobalAction_png

 

See Also

 

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.