How to set up custom form layout

If you want references of the object to be displayed not on tabs inside the form of the object but as separate panels altogether you can use the DISPLAY LAYOUT action.

To use the DISPLAY LAYOUT action to provide custom layout of attributes and references do the following:

  1. Define a process that would show the form of the object (the object should be passed as process input), for example,
    VIEW MyObject
  2. Define queries that would show references of the object (the queries should assume that the object is in the context, for example:
    FIND MyReference WHERE MyReference IN MyObject.References
  3. Define a visual perspective with a single tab inside the main frame
  4. Define content panels of this tab to show a form of the object in one content panel and references of the object in the other content panels. The panel showing the form should use the process defined in 1.; and panels for references should use queries defined in 2.
  5. Define a process that would display the layout:
    FIND MyObject WHERE …
    DISPLAY LAYOUT MyTab FROM_VP MyPerspective
  • Last modified: 2023/05/09 01:57