Top Method Summary
Options Name Purpose
btnOK_Click (Object, EventArgs) Event handler for the Click event of the btnOK
Progress.Json.ObjectModel.JsonObject BuildDescriptor () Builds the Business Entity Descriptor from the ttView temp-table
EditDescriptor (character, character, JsonObject, logical) Visualizes the dialog for editing the views of the Business Entity Descriptor and blocks the UI
CHARACTER GetValue (JsonObject, character) Returns the character value of an attribute of a canonical view
InitializeComponent () Initializes the Visual Design
OnFormClosing (FormClosingEventArgs) Raises the FormClosing event
ParseDescriptor (JsonObject) Fills the ttView temp-table from the Business Entity Descriptor
smartTempTableAdapter1_BeforeCreateRecord (Object, BeforeCreateRecordEventArgs) Event handler for the BeforeCreateRecord event of the smartTempTableAdapter1

Top Constructor Summary
Options Name Purpose
BusinessEntityViewsDialog () Constructor for the BusinessEntityViewsDialog class


Method Detail
Top

btnOK_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnOK
Notes: Commits a pending update of the SmartUpdatableBrowser, builds
the descriptor from the views and validates it against the
temp-tables and fields of the design. The dialog stays open
when saving fails or the descriptor is not valid

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

Progress.Json.ObjectModel.JsonObject BuildDescriptor ()

Purpose: Builds the Business Entity Descriptor from the ttView
temp-table
Notes: Rows without any value are skipped

Returns Progress.Json.ObjectModel.JsonObject
The canonical Business Entity Descriptor
Top

EditDescriptor (character, character, JsonObject, logical)

Purpose: Visualizes the dialog for editing the views of the Business
Entity Descriptor and blocks the UI
Notes: On OK the poDescriptor parameter is replaced with the edited
descriptor in its canonical form, on Cancel the value remains
unchanged

Parameters:
pcTableNames CHARACTER
The comma-delimited list of the temp-table names of the design
pcQualifiedFieldNames CHARACTER
The comma-delimited list of the field names of the design, qualified with the temp-table name
poDescriptor Progress.Json.ObjectModel.JsonObject
INPUT-OUTPUT The JsonObject with the Business Entity Descriptor
plOk LOGICAL
OUTPUT Logical value indicating if the user has pressed OK or Cancel
Top

CHARACTER GetValue (JsonObject, character)

Purpose: Returns the character value of an attribute of a canonical view
Notes: Returns an empty string when the attribute is not set

Parameters:
poView Progress.Json.ObjectModel.JsonObject
The canonical view
pcAttribute CHARACTER
The name of the attribute
Returns CHARACTER
The value of the attribute or an empty string
Top

InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing event
Notes: Cancels a pending update of the SmartUpdatableBrowser so that
closing the dialog does not leave the browser in update mode

Parameters:
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

ParseDescriptor (JsonObject)

Purpose: Fills the ttView temp-table from the Business Entity Descriptor
Notes:

Parameters:
poDescriptor Progress.Json.ObjectModel.JsonObject
The JsonObject with the Business Entity Descriptor
Top

smartTempTableAdapter1_BeforeCreateRecord (Object, BeforeCreateRecordEventArgs)

Purpose: Event handler for the BeforeCreateRecord event of the
smartTempTableAdapter1
Notes: Assigns the sort order of the new view, so that the views
keep the order they were added in

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.BeforeCreateRecordEventArgs
The BeforeCreateRecordEventArgs with the data for this event


Constructor Detail
Top

BusinessEntityViewsDialog ()

Purpose: Constructor for the BusinessEntityViewsDialog class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       14.09.2026 00:53:30