formData.entityName
(FintechOS Studio 20.1.1 and later)
Returns the name of the form's source entity.
Return Value
Returns a string containing the source entity's name.
Examples
In this example, we log in the browser console when an entity's form is accessed and the mode in which it is accessed (to either add a new record or edit an existing record). For information about how to return a form's mode, see formData.mode.
Copy
console.log(formData.entityName + ' opened in ' + formData.mode + ' mode.');