Top Method Summary
Options Name Purpose
AttachDefaultFormClosedEvent (JsonObject, handle) Attaches the default FormClosed event handler to the settings of a Smart Form without a FormClosed event handler
CHARACTER GetFormActionTargetName (handle, ISmartRepositoryService) Determines the name of the FormAction target
CHARACTER GetFormToolbarName (handle, ISmartRepositoryService) Determines the name of the toolbar of the Form
CHARACTER GetPrimaryDataSourceName (handle, ISmartRepositoryService) Determines the name of the primary data-source
CHARACTER GetPrimaryDataTargetNames (handle, ISmartRepositoryService) Determines the names of the primary data-target's
RenderDataSources (JsonObject, handle, ISmartRepositoryService) Renders the Data Sources in the Form
Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (character) Renders the form template to JSON
Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (handle) Renders the form template


Method Detail
Top

AttachDefaultFormClosedEvent (JsonObject, handle)

Purpose: Attaches the default FormClosed event handler to the settings
of a Smart Form without a FormClosed event handler
Notes: SCL-6064: The form-scoped session context properties
(<FormName>.<Property>) of a Form are removed by the event
dispatcher when the frontend reports the FormClosed event. The
frontend only does that for a Form with a FormClosed handler, so
Forms without one get the no-op default handler
FormContextPropertiesBusinessTask:HandleFormClosed. HandleFormClosed. Not attached
when the MetaForm sets KeepFormContextProperties

Parameters:
poSettings Progress.Json.ObjectModel.JsonObject
The JsonObject with the Smart Form settings
phAttributes HANDLE
The buffer with the Smart Form attributes
Top

CHARACTER GetFormActionTargetName (handle, ISmartRepositoryService)

Purpose: Determines the name of the FormAction target
Notes:

Parameters:
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Returns CHARACTER
The name of the FormAction target
Top

CHARACTER GetFormToolbarName (handle, ISmartRepositoryService)

Purpose: Determines the name of the toolbar of the Form
Notes: SCL-6244: The source of the Toolbar link whose target is the
Form container itself (no target instance) - the
SmartToolbarSource of the Form in the GUI for .NET client. Links
of embedded containers are not considered

Parameters:
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Returns CHARACTER
The instance name of the toolbar of the Form or ? when the Form has no toolbar
Top

CHARACTER GetPrimaryDataSourceName (handle, ISmartRepositoryService)

Purpose: Determines the name of the primary data-source
Notes:

Parameters:
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Returns CHARACTER
The name of the primary data-source
Top

CHARACTER GetPrimaryDataTargetNames (handle, ISmartRepositoryService)

Purpose: Determines the names of the primary data-target's
Notes:

Parameters:
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Returns CHARACTER
The names of the primary data-target
Top

RenderDataSources (JsonObject, handle, ISmartRepositoryService)

Purpose: Renders the Data Sources in the Form
Notes:

Parameters:
poDataSources Progress.Json.ObjectModel.JsonObject
The JSON object representing the Data Sources
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Top

Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (character)

Purpose: Renders the form template to JSON
Notes:

Parameters:
pcObjectName CHARACTER
The repository object name of render
Returns Progress.Json.ObjectModel.JsonObject
The form template as a JSON Object
Top

Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (handle)

Purpose: Renders the form template
Notes:

Parameters:
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The Form template as a JSON Object


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:17:21