Top Method Summary
Options Name Purpose
HANDLE GetDataset (character) Fetches the ProDataset of the given Business Entity, used for resolving the proper-cased field names of the Lookup bindings.
Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character) Renders a repository object as JSON
Progress.Json.ObjectModel.JsonObject RenderLookupGridLayout (handle) Renders the lookup grid layout
CHARACTER ResolveFieldName (character, handle, character) Returns the properly-cased SERIALIZE-NAME (or NAME) of a buffer field as defined in the given ProDataset, so that the JSON rendering of the Lookup uses the casing of the schema.


Method Detail
Top

HANDLE GetDataset (character)

Purpose: Fetches the ProDataset of the given Business Entity, used for
resolving the proper-cased field names of the Lookup bindings.
Notes: The caller is responsible for deleting the returned dataset
handle. Returns the unknown value when pcEntityName is empty.

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
Returns HANDLE
The handle of the Business Entity's ProDataset
Top

Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character)

Purpose: Renders a repository object as JSON
Notes:

Parameters:
pcObjectName CHARACTER
The name of the repository field
pcScope CHARACTER
The scope to bind the field to
pcFieldModel CHARACTER
The model to bind the field to
pcFieldName CHARACTER
The name of the field
plMandatory LOGICAL
Logical value indicating if the field is mandatory
plReadOnly LOGICAL
Logical value indicating if the field is mandatory
plAddOnly LOGICAL
Logical value indicating if the field is only enable during add
phAttributes HANDLE
The record buffer with the object attributes
phDataset HANDLE
The handle of the Business Entity Dataset
pcTables CHARACTER
The list of tables (entity table + entity view)
Returns Progress.Json.ObjectModel.JsonObject
The JSON representation of the field
Top

Progress.Json.ObjectModel.JsonObject RenderLookupGridLayout (handle)

Purpose: Renders the lookup grid layout
Notes:

Parameters:
phAttributes HANDLE
The lookup's attribute's buffer
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representing the Grid layout
Top

CHARACTER ResolveFieldName (character, handle, character)

Purpose: Returns the properly-cased SERIALIZE-NAME (or NAME) of a buffer
field as defined in the given ProDataset, so that the JSON
rendering of the Lookup uses the casing of the schema.
Notes: When the dataset, table or field cannot be resolved, the
original field name is returned unchanged.

Parameters:
pcFieldName CHARACTER
The name of the field to resolve
phDataset HANDLE
The handle of the Business Entity's ProDataset
pcTableName CHARACTER
The name of the entity table the field belongs to
Returns CHARACTER
The properly-cased field name


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.05.2026 16:29:06