Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Grid
  • VP Header
  • Read-Only Viewer

 

An example would be the Sendung Desktop Screen.

...

  • SmartModule: Sendung.Sendung (because it should be in the Sendung domain and module)
  • New Object: SendungDesktop (because this is a desktop form)
  • Template: SimpleSwatWindow


Image Added


After creating and saving, now search for newly created “Desktop” screen:

Image Added

 

Double Clicking should then open the following screen:

Image Added

 

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.

Image Added

To add to our design, simply select the DSO and drag onto the design canvas:

Image Added

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

Image Added

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.

Image Added

 

Now we need to set the following attributes, select the grid object in the treeview:

AttributeValueExplanation
LayoutPositionaCheck that the layout position is the far left panel
BorderTitleSendungenValue displayed in the Panel header
EnabledChecked 
FolderWindowToLaunch This should represent the Form that is executed on record selection
showGridFiltercolumn-only 
SUBTYPEgrid2 

 

Define the links

Select the Links Icon to see the following screen:

Image Added

Now define the following links:

Image Added

Save and reopen the Desktop screen.

Adding VP panel:

 

Add SwatBusinessEntity (DSO):

Image Added

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

AttributeValueExplanation
EntityNameeStamm 
ForeignFieldsstamm_id,stamm_idDefines the linkage from the main Data Source to this Data Source
ResourceNameOsiv.BusinessLogic.istd.Stamm.StammBE 
SUBTYPEBE 

Save and reopen the Desktop screen.

Now Add the Details (Overview Form)

Image Added

Image Added

Save and reopen the Desktop screen.
Also add SendungDSO with these settings:

AttributeValueExplanation
EntityNameeSendungTempTableName
ForeignFieldsSendung_ID,Sendung_IDForeignkey of parent to child
ResourceNameOsiv.Sendung.SendungBE 
SUBTYPEBE 

 

Now define the final set of links

Image Added

 

Test the current design:
Press: Ctrl-Shift-Alt L
Enter: SendungDesktop
Click: Open

Image Added

 

The new screen should look similar to:

Image Added