Editing forms in I4

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:52

Editing forms in I4 are configured like in GNPortal and client applications, with objectUI element, which description can be found at the following url: http://tech.teradp.com/tech/html/gn4/docs/vsdoc/index.html?frlrfTeraDPGN4SchemaObjectUIClassTopic.html.

However, not all the functionalities have been ported to I4. This paragraphs compares (not exhaustively) the way objectUI are configured / used in GNPortal and I4.

objectUI attributes and elements

Attribute or element

Supported in I4

Remark

objectUI/@buttons

NO

 

objectUI/@cache

NO

 

objectUI/@iconLang

NO

 

objectUI/@iconName

NO

 

objectUI/@iconSize

NO

 

objectUI/@instruction

YES

 

objectUI/@name

YES

 

objectUI/@objectTypeName

YES

Supported ONLY in I4. It indicates the object type name of the objects the objectUI can be used for

objectUI/@previewExternalUrl

YES

 

objectUI/@previewFeed

YES

 

objectUI/@previewWidth

NO

 

objectUI/@showInstruction

YES

 

objectUI/@useAttributesOrder

NO

In I4, attributes are always displayed in the order specified by objectUI/attribute

objectUI/@columnCount

YES

Supported ONLY in I4. If there is a tab it will use the first tab for the column count.

objectUI/attribute

YES

 

objectUI/compute

YES

 

objectUI/conditions

NO

 

objectUI/default

NO

In I4, attributes are hidden by default and must be listed explicitly in objectUI/attribute in order to be displayed.

objectUI/init

YES

 

objectUI/optDefault

NO

 

objectUI/tab

NO

 If the form described by objectUI features more than one tab, then only attributes of the first tab will be displayed.

objectUI/type

NO

 

objectUI/validate

YES

 

objectUI/web

NO

 

objectUI/winClient

NO

 

 

UITemplateKind supported

Access

Attribute types

Access attribute types is supported.

Options

The options ui/template/@CreateObjectUI, ui/template/@DataTemplates, ui/template/@Sort and ui/template/@SearchObjectUI are not supported.

The option ui/template/@SearchContext is supported.

The option ui/template/@SearchContext is supported ONLY in I4.

Audio

DataContent is the only attribute type supported (like in GNPortal).

Options

There is no option available when using UITemplateKind.Audio (like in GNPortal).

AutoComplete

Attribute types

Reference, SingleCategory, MultiReference and MultiCategory attribute types are supported.

Options

The options ui/template/@createObjectUI is not supported.

The option ui/template/@autoCompleteMinChars, ui/template/@searchAttributes and ui/template/@startsWith are supported.

Calendar

Attribute types

Date and DateTime attribute types are supported.

Options

The option ui/template/@format is supported only when not html5 control.

CalendarTime

Attribute types

DateTime attribute types are supported.

Options

The option ui/template/@format is supported only on date part when editing and not html5 control

The option ui/template/@timeZone is supported.

CheckBox

Attribute types

Boolean is the only attribute type supported (like in GNPortal).

Options

There is no option available when using UITemplateKind.CheckBox (like in GNPortal).

CheckBoxes

Attribute types

EnumSet attribute type is supported.

Options

The option ui/template/@sorted is supported.

Color

Attribute types

RgbColor attribute type is supported.

Options

There is no option available when using UITemplateKind.Color.

DropDown

Attribute types

Boolean, ObjectTypeRef, Reference, SingleCategory, RgbColor and Enum attribute types are supported.

IntBase attribute types is NOT supported yet.

Options

The options ui/template/createObjectUI, ui/template/@sorted and ui/template/@nameExtra are not supported. The dropdown options are ALWAYS sorted alphabetically, and for reference attributes we ALWAYS display the descriptive name.

The option ui/template/filter is supported ONLY in I4, and ONLY for Reference attribute type.

ExaleadSuggest

Attribute types

Keywords attribute type is supported.

Options

The options ui/template/@autoCompleteMinChars, ui/template/@startsWith and ui/template/@exaleadCategories are supported.

Grid

Attribute types

MultiReference and List attribute types are supported.

Options

The options ui/template/@CreateObjectUI, ui/template/@DataTemplates and ui/template/@SearchObjectUI are not supported.

The option ui/template/@objectUI, ui/template/@dataTile and ui/template/@SearchContext are supported.

The option ui/template/@SearchContext, ui/template/@dataTile are supported ONLY in I4.

GridAutoComplete

Attribute types

MultiReference attribute types is supported.

Options

The option ui/template/@autoCompleteMinChars, ui/template/@searchAttributes and ui/template/@startsWith are supported.

HtmlEditor

Attribute types

String, DataContent and Xml attribute types are supported.

Options

The options ui/template/@format, ui/template/@showReadingTime and ui/template/@useWordCount are not supported.

The option ui/template/@rightToLeft and ui/template/@useSpellChecker are supported.

Image

DataContent is the only attribute type supported (like in GNPortal).

Options

There is no option available when using UITemplateKind.Image (like in GNPortal).

Map

Attribute types

Position attribute type is supported.

Options

The options ui/template/@language is supported.

MultiLineString

Attribute types

String, DataContent and Xml attribute type is supported.

Options

The option ui/template/objectUI/web is supported.

The options ui/template/@rightToLeft, ui/template/@showReadingTime, ui/template/@useSpellChecker and ui/template/@useWordCount are NOT supported.

ParamsGrid

Attribute types

List attribute types is supported.

Options

The option ui/template/@paramsDefPath is supported.

Password

Attribute types

Password attribute types is supported.

Options

The option ui/template/@askForOldPassword is supported.

Radio

Attribute types

Enum and ObjectTypeRef attribute type is supported.

Options

The options ui/template/@sorted is not supported.

Search

Attribute types

Reference attribute types is supported.

Options

The options ui/template/@CreateObjectUI, ui/template/@DataTemplates, ui/template/@Sort and ui/template/@SearchObjectUI are not supported.

The option ui/template/@SearchContext is supported.

The option ui/template/@SearchContext is supported ONLY in I4.

SimpleList

Attribute types

MultiReference and EnumSet attribute type are supported.

Children attribute types is NOT supported.

Options

The options ui/template/@Sort, ui/template/@DataTemplates and ui/template/@SearchObjectUI are not supported.

The option ui/template/@SearchContext, ui/template/@dataTile and ui/template/@sorted are supported.

The option ui/template/@SearchContext, ui/template/@dataTile is supported ONLY in I4.

SimpleString

Attribute types

String, RgbColor and Numeric (Decimal, Float, Double, Short, Long and Int) attribute types are supported.

Date, Time and DateTime attribute types are NOT supported yet.

Options

The options ui/@measurementUnit, ui/@decimalDigits, ui/template/@units, ui/template/@format, ui/template/@onlyFirstNonZeroUnit and ui/template/objectUI/web are supported.

The options ui/template/@rightToLeft, ui/template/@showReadingTime, ui/template/@useSpellChecker and ui/template/@useWordCount are NOT supported.

StartCopyFlow

Attribute types

Reference attribute type to folder and calendar object type are supported (like in GNPortal).

Options

The option ui/template/@filter is supported ONLY in I4, and ONLY for Reference attribute type.

Suggest

Attribute types

String and Keywords attribute types are supported.

Options

The option ui/template/@forceKeywords is not supported.

The options ui/template/@autoCompleteMinChars, ui/template/@keywordSetName, ui/template/@startsWith and ui/template/@separators are supported.

Time

Attribute types

Time attribute types are supported.

Options

The option ui/template/@format is not supported

The option ui/template/@timeZone is supported.

Tree

Attribute types

Reference, SimpleCategory, MultiCategory and MultiReference attribute types are supported.

Options

The options ui/template/@refAttributes, ui/template/@homeFolderOnly, ui/template/@showHomeFoldersOnTop, ui/template/@root, ui/template/@defaultWeight, ui/template/@displayCompletePath and ui/template/@showWeights are supported.

TriCheckBoxes

Attribute types

TriStateSet and Privileges attribute types is supported.

Options

There is no option available when using UITemplateKind.TriCheckBoxes (like in GNPortal).

Video

DataContent is the only attribute type supported (like in GNPortal).

Options

There is no option available when using UITemplateKind.Video (like in GNPortal).