Login
Last Modified: Mar 7, 2024 8:40:15AM

test this
These generic methods may be used on all field types. Text fields and Memo fields only have these generic methods.
ItemSample CodeOutput
altIdObjects()fieldsForm.fields.textField.altIdObjects()[object Object]
altIds()fieldsForm.fields.textField.altIds()[object Object]
altIdsArray()fieldsForm.fields.textField.altIdsArray()[1000101__id_textFieldId]
ancestor()fieldsForm.fields.textField.ancestor(1000001)Generic Field Methods
asArray()fieldsForm.fields.textField.asArray().map(ob => ob)
children()fieldsForm.fields.textField.children().map(child => child.displayName())
clear()fieldsForm.fields.textField.clear()
Note: This method clears the field's value.
-- TODO --
created()fieldsForm.fields.textField.created()2020-09-09T21:51:32Z
creator()fieldsForm.fields.textField.creator()Brian (Super) Kelley
deleteUrl()fieldsForm.fields.textField.deleteUrl()JavaScript:delAndPersist('Relate',DEL_MSSG, 'delete','myassn.view.web.WebView','1000101___2822766')
deletedChildren()fieldsForm.fields.textField.deletedChildren()[]
displayName()fieldsForm.fields.textField.displayName()Text Field
editUrl()fieldsForm.fields.textField.editUrl()javascript:doPopup('/shared/admin/applications/relate/editformfield.jsp?_event=edit&_id=1000101___2822766', MEDIA_WIN, true);
form()fieldsForm.fields.textField.form()Generic Field Methods
getAncestors()fieldsForm.fields.textField.getAncestors()[Generic Field Methods, Field Values, Sample bluestep.js Code, BlueStep Platform Support Site, Relate Structure, Relate, myassn.application.WebApplications 120000___138167(120195895), BlueStep Platform Support]
id()fieldsForm.fields.textField.id()1000101___2822766
isLocked()fieldsForm.fields.textField.isLocked()false
isPendingLock()fieldsForm.fields.textField.isPendingLock()false
isPendingUnLock()fieldsForm.fields.textField.isPendingUnLock()false
isWritable()fieldsForm.fields.textField.isWritable()false
lock()fieldsForm.fields.textField.lock()null
mergeTag()fieldsForm.fields.textField.mergeTag()test this
metaData()fieldsForm.fields.textField.metaData()Text Field
modified()fieldsForm.fields.textField.modified()2020-09-09T21:51:32Z
modifier()fieldsForm.fields.textField.metaData().modifier().fullName()Brian (Super) Kelley
opt()fieldsForm.fields.textField.opt().orElse("Unknown")test this
optAncestor()fieldsForm.fields.textField.optAncestor(1000001).orElse("Unknown")Generic Field Methods
optLock()fieldsForm.fields.textField.optLock()Optional.empty
optParent()fieldsForm.fields.textField.optParent(1000001).orElse("Unknown")Generic Field Methods
parent()fieldsForm.fields.textField.parent()Generic Field Methods
topId()fieldsForm.fields.textField.topId()1000101___2822766
typeName()fieldsForm.fields.textField.typeName()Bluestep.Relate.TextField
val()fieldsForm.fields.textField.val()test this
valOpt()fieldsForm.fields.textField.valOpt().orElse("Unknown")test this
variableName()fieldsForm.fields.textField.variableName()textField
version()fieldsForm.fields.textField.version()2
versions()fieldsForm.fields.textField.versions()[]
viewUrl()fieldsForm.fields.textField.viewUrl()javascript:doPopup(' ?_event=view&_id=1000101___2822766', MEDIA_WIN, true);