The Split Screen Master List Floorplan is a useful page that allows you to query, view, insert, update, and delete data.The data is shown in a Master List on the left side of the page whose lines offer links to display more details. Those details are shown on the right side of the page.
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.
Look at the Patterns tab of the Country Transaction. If you have never applied the Fiori for Web pattern in your Knowledge Base 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:
then select the Split Screen Master List option from the list given by GeneXus
This floorplan can be applied to a Transaction object or a Web Panel object.
The following section explains how to customize your Split Screen Master List.
You can add, modify or delete actions being positioned on the Split Screen Master List tab.
To add actions you have to right click the Action Group 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).
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 Free style grid node and select in the contextual menu Add / UserAction:
In order to modify these actions, you have to follow the next steps:
1.Right-click on the Split Screen Master List tab and select Open YourObjectNameMasterList.
Note: Temporarily the Web Panel's name is not WebPanelNameMasterList but it is WebPanelNameListReport.
2.Being in the Split Screen Master List Web Panel, go to the Events Section.
3.Once there, you only have to create the click events for your customized actions.
You can also add actions to the Object page by going to the Split Screen Object Page tab.
Being there you have to right-click the Action Group node, and selecting in the contextual menu Add/UserAction
<To program this action you can do it by right-clicking it and selecting 'Go to Event'.>
You can manage the Filters being positioned on the Split Screen Master List tab.
To add filters you have to right-click on the Table Main node and then select in the contextual menu Add and select the kind of filter you want.
For more information see GeneXus For SAP Filters
You can manage the Orders being positioned on the Split Screen Master List tab. Once there, you have to right-click on the TableMain node and then select Add > Orders.
After having created the Orders node, to add a new Order you have to right-click on Orders and then choose Add > Order.
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 being positioned on the Split Screen Master List tab.
To prevent attributes from being shown on the Split Screen Master List 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 Free style grid node, then select Add / Attribute:
Then, GeneXus will display a list of attributes for you to choose which ones you want to add.
There are other functionalities generated by GeneXus when you apply the floorplan.
By clicking the Save as Tile button, you create a new tile for the Web Panel generated by GeneXus with the Split Screen Master List Floorplan. It will be always at the beginning of the Launchpad, keeping it handier.