Top Method Summary
Options Name Purpose
+ LONGCHAR RenderHtml (character, character, character, character, character, logical, logical, handle, handle, character, ViewerBindingStyleEnum) Renders a repository object as html
+ Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character) Renders a repository object as JSON


Method Detail
Top

PUBLIC LONGCHAR RenderHtml (character, character, character, character, character, logical, logical, handle, handle, character, ViewerBindingStyleEnum)

Purpose: Renders a repository object as html
Notes:

Parameters:
pcObjectName CHARACTER
The name of the repository field
pcScope CHARACTER
The scope to bind the field to (for additional properties)
pcFieldModel CHARACTER
The model to bind the field to
pcFieldId CHARACTER
The Id of the field (JQuery)
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
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)
poBindingStyle Consultingwerk.Web2.Services.SmartViews.ViewerBindingStyleEnum
The style of data bindings (AngularJS or Angular2)
Returns LONGCHAR
The longchar representation (HTML code) of the field
Top

PUBLIC 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 (for additional properties)
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


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 19:04:19