Business Objects Data Extension with Xafari Dock Panels | Xafari Framework

Business Objects Data Extension Using Xafari Dock panels

This week our lead developer has published an article about challenges that developers often face when working with complex forms in XAF applications.

One of the main challenges he mentioned was business objects data extension, and it was advised how to decide this issue using basic XAF functionality.

However, it can be done quicker and easier with the help of Xafari Dock Panels. In order to extend business object data, you will just have to create a new dock panel for the business object in question as follows:

  1. Go to BOModel|Class|DockPanels, invoke the context menu, and choose Add|ClassDockPanel.
  2. Then, choose the required relation variant for the new panel: DockPanel, Independent, Master, Details, or DetailsCurrentObject.
  3. Finally, set the required RelationCriteria attribute which defines the rule by which certain detail objects are related to the master object.

RelationCriteria is formed according to Criteria Language Syntax and supports Positional Parameters Named Parameters. Thus the user will have a new panel with necessary information which was not initially linked to the business object type.

Read more about Xafari Dock Panels features in the documentation, and don’t hesitate to contact us in case of any questions.