GlideForm field types (scripted, UIB)

Fernnn
Tera Contributor
Hi, I'm trying to provide generated form data to a UIB form component. I have input fields working (e.g. {"maxLength": 40, "type": "string", "internalType": "string"}).
What I want: a non-input field type such as a formatter or catalog "label". I found what I believe to be internal GlideUIElement types below, which should help. I'm having trouble getting to the finish line.
 
          , El = "annotation"
          , zl = "auto_increment"
          , Tl = "auto_number"
          , Bl = "boolean"
          , Sl = "char"
          , Gl = "choice"
          , Cl = "composite_field"
          , Al = "conditions"
          , Nl = "css"
          , Ol = "currency"
          , Dl = "currency2"
          , Il = "glide_date"
          , Pl = "glide_date_time"
          , Ll = "datetime"
          , Vl = "days_of_week"
          , Ml = "decimal"
          , Fl = "documentation_field"
          , Ul = "document_id"
          , jl = "domain_id"
          , Hl = "domain_path"
          , $l = "due_date"
          , Wl = "glide_duration"
          , ql = "email"
          , Yl = "glide_encrypted"
          , Kl = "field_list"
          , Ql = "field_lookup"
          , Xl = "field_name"
          , Jl = "file_attachment"
          , Zl = "float"
          , oa = "glide_list"
          , ea = "GUID"
          , ra = "html"
          , na = "input_group"
          , la = "integer"
          , aa = "int"
          , ta = "long"
          , ia = "longint"
          , sa = "integer_date"
          , ca = "integer_time"
          , da = "ip_addr"
          , fa = "ip_address"
          , ma = "journal_input"
          , wa = "json"
          , pa = "multi_two_lines"
          , ga = "multi_small"
          , ba = "simple_name_values"
          , va = "date"
          , ua = "password"
          , ha = "password2"
          , ya = "percent_complete"
          , _a = "ph_number"
          , ka = "phone_number"
          , xa = "phone_number_e164"
          , Ra = "price"
          , Ea = "radio"
          , za = "reference"
          , Ta = "script"
          , Ba = "script_plain"
          , Sa = "short_table_name"
          , Ga = "slushbucket"
          , Ca = "string"
          , Aa = "string_full_utf8"
          , Na = "str_long"
          , Oa = "str_short"
          , Da = "table_name"
          , Ia = "template_value"
          , Pa = "textarea"
          , La = "glide_time"
          , Va = "timer"
          , Ma = "translated_field"
          , Fa = "translated_html"
          , Ua = "translated_text"
          , ja = "url"
          , Ha = "user_image"
          , $a = "glide_utc_time"
          , Wa = "version"
          , qa = "wide_text"
          , Ya = "wiki_text"
          , Ka = "workflow"
          , Qa = "user_roles"
          , Xa = "xml"
          , Ja = "condition_string"
          , Za = "order_index"
          , ot = "html_script"
          , et = "user_input"
          , rt = "related_tags"
          , nt = "email_script";
 
 
uib, ui builder, g_form, GlideForm, GlideUIElement, scripting, UI, workspace
1 REPLY 1

Fernnn
Tera Contributor

A more complete field example:

firstName: {} 19 keys

name: 
"firstName"
label: 
"firstName"
visible: true
readonly: false
mandatory: false
isEncrypted: false
encryptionContext: 
""
sys_readonly: false
canWrite: true
canRead: true
canCreate: true
fieldHint: null
isGlideVar: false
value: 
"SUSIE"
displayValue: 
"SUSIE"
originalValue: 
"SUSIE"
maxLength: 40
type: 
"string"
internalType: 
"string"