Skip to content

FormController Object

The code for the FormController object is created by the code generation tool for you. It communicates with both the models for the data sources and the viewmodels for the forms.

You should not modify the source code for the FormController object. Instead, your app calls the methods that the FormController object provides. However, most apps will need custom business logic. You add that to the FormControllerExtension object rather than the FormController object itself.

The FormController object offers the following.


getCurrentForm Method

getCurrentFormFriendlyName Method

getPreviousForm Method

getPreviousFormFriendlyName Method



Note: If you change the default template of the controller for dependency injection, the methods from the controller will not be displayed as part of intellisense to invoke functions in the Action Editor.