static/jsvm/interfaces/forms.RecordUpsert.html
drySubmitgrantManagerAccessgrantSuperuserAccesshasManageAccessloadresetAccesssetAppsetContextsetRecordsubmit
Deprecated: It was previously used as part of the record create action but it is not needed anymore and will be removed in the future.
DrySubmit performs a temp form submit within a transaction and reverts it at the end. For actual record persistence, check the [RecordUpsert.Submit()] method.
This method doesn't perform validations, handle file uploads/deletes or trigger app save events!
-
- (txApp, drySavedRecord): void
-
-
-
GrantManagerAccess updates the form access level to "manager" allowing directly changing some system record fields (often used with auth collection records).
GrantSuperuserAccess updates the form access level to "superuser" allowing directly changing all system record fields, including those marked as "Hidden".
HasManageAccess reports whether the form has "manager" or "superuser" level access.
Load loads the provided data into the form and the related record.
ResetAccess resets the form access level to the accessLevelDefault.
SetApp replaces the current form app instance.
This could be used for example if you want to change at later stage before submission to change from regular -> transactional app instance.
SetContext assigns ctx as context of the current form.
SetRecord replaces the current form record instance.
Submit validates the form specific validations and attempts to save the form record.
OSLightDark
Generated using TypeDoc