Google News
logo
AppML - Interview Questions
Explain the list of AppML API
Methods : Following are the AppML methods.

* new AppML() : Used to create a new AppML object.
* appml("name") : Used to return the appml object with the specified name.
* displayMessage(text) : Used to display a specified message.
* getData() : Used to fetch application data.
* run() : Used to run application object.
* setError(code, description) : Used to set an error with code and description.



Properties : Following are the AppML properties.

* appName : Name of the application, id of the container
* container : Container object
* controller : Controller object
* data : data object.
* dataSource : data source.
* displayType : Application Type, form or list
* message : message object
* error : error object

Data Object Properties : Following are the AppML data object properties.

* data.model : application data model.
* data.records : application records.


Form Methods : Following are the AppML form methods.

* newRecord() : Used to reset the current form.
* saveRecord() : Used to save the current record.
* deleteRecord() : Used to delete the current record.
* closeForm() : Used to close the current form.


Filter properties : Following are the AppML filter properties.

* orderBys : An array of order by field names.
* orderByDirections : An array of order by directions .
* queryFields : An array of query field names.
* queryValues : An array of query values.
* queryTypes : An array of query types.
Advertisement