The design of a desktop screen should primarily consist of the following:
An example would be the Sendung Desktop Screen.
The naming convention for the Desktop Screen has been defined as: <Entity>Desktop
In the example of Sendung, this would equate to “SendungDesktop”.
Press ‘New’ in the designer and enter the attributes as depicted below:
After creating and saving, now search for newly created “Desktop” screen:
Double Clicking should then open the following screen:
Once open, we can then start designing the screen layout.
First of all, lets add the Data Source Object (i.e, Business Entity). So select the ‘Add’ option and then filter for the appropriate Data Source Object.
To add to our design, simply select the DSO and drag onto the design canvas:
Add a previously generated Grid to our layout (in the case of Sendung, we chose the SendungQuery as this is a read only defined entity).
The above should be dragged onto the top “empty” attribute (i.e. Panel A), move slowly to the left until “empty” turns black and then let go.
Now we need to set the following attributes, select the grid object in the treeview:
Attribute | Value | Explanation |
---|---|---|
LayoutPosition | a | Check that the layout position is the far left panel |
BorderTitle | Sendungen | Value displayed in the Panel header |
Enabled | Checked | |
FolderWindowToLaunch | This should represent the Form that is executed on record selection | |
showGridFilter | column-only | |
SUBTYPE | grid2 |
Define the links
Select the Links Icon to see the following screen:
Now define the following links:
Save and reopen the Desktop screen.
Adding VP panel:
Add SwatBusinessEntity (DSO):
Drag over onto the second ‘empty’ attribute, move slowly to the left until “empty” turns black and then let go.
Now add the following attributes to the dStammeBE
Attribute | Value | Explanation |
---|---|---|
EntityName | eStamm | |
ForeignFields | stamm_id,stamm_id | Defines the linkage from the main Data Source to this Data Source |
ResourceName | Osiv.BusinessLogic.istd.Stamm.StammBE | |
SUBTYPE | BE |
Save and reopen the Desktop screen.
Now Add the Details (Overview Form)
Save and reopen the Desktop screen.
Also add SendungDSO with these settings:
Attribute | Value | Explanation |
---|---|---|
EntityName | eSendung | TempTableName |
ForeignFields | Sendung_ID,Sendung_ID | Foreignkey of parent to child |
ResourceName | Osiv.Sendung.SendungBE | |
SUBTYPE | BE |
Now define the final set of links
Test the current design:
Press: Ctrl-Shift-Alt L
Enter: SendungDesktop
Click: Open
The new screen should look similar to: