Optional _enumoptional evaluated enum limit should contain name of the field used in the enums. Field in the enum can be of the type bool or string, When string it is expected to be condition to evaluate when contains condition "=" at start, then it is evaluated before using as a condition when containt '='=conditiion'" first condition is evaluated to get the second one. Second is used as a condition evaluated for each enum attribute in this case enum fields are attributes in the evaluation (see crmAbstractSubject for example)
Optional _hintOptional _tooltipOptional _translationOptional alwaysOptional mark requesting to send value of the field always to the serer When value s marked true, update always send value to the server - in the group field if modified and in the group attrParam when not modified Use when value is necessary for preUpdate/postUpdate function
Optional checkOptional checkname of the object field in which is stored informtion about the currency for this field
Optional defaultitem could have default value - string or some of the value patterns - calculated if value is null, makes senese with =, e.g. '@selfUserID', '=global.today + 1', evaluation has not any available object, has access to the object of the detail / list from which field was open
Optional editablecommand evaluated in order to check if user can edit field. Negation of the readonly. Has lower priority and is disregarded in case that readonly is defined. Do not use both of them Not evaluated for new objects. User visible to hide elements not editable in the new object aka marks
Optional enumOptional enumOptional name of the field defined in the enum definition that is used to select which fields can be used and which cannot String is only name or condition; if condition it is evaluated and should return the name
Warning: evaluation not yet implemented
Optional hintOptional iconOptional indexedmark that table has index for this field - UNUSED
Optional labelOptinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object
Optional lengthOptional optionsList of options that attribute might have. Extensible and objects with special implementation can extend list with its own options Options supported by framework:
Optional orderoptional element order
Optional rOptional rOptional readonlycould limit, if the field is user-editable, when false, it can stil be updated by server functions but never directly by user; condition allowed; default false not evaluated / considered for new objects; use visible field to hide new objects fields
Optional remoteOptional requiredOptional shortcutOptional shortcut
Optional sourceOptional styleclassName (in case thet style is string) or list of styles using htmlelements.style JS attributes
style='box--dataImportant' box--dataImportant should be defined class in the css styles
syle={"maxWidth":"20em"} set up the maxWidth style attribute for the box
styl={"border":"=obj.status=='AC'?'solid':'none' "}
Optional tableOptional unitoptional unit value (like time etc.) unit value could be theoretically evaluated (kb, MB) but it is never recalculated during editing
Optional unitName of the object field with unit value
Optional visibleOptional wherefor links (remote ids) only - condition to select item
Optional wherefor links (remote ids) only - condition to select item used only in case that object is newly created
Additional field of the data attribute defines where is stored information about the curency