Built-in front calls summary
Various front-end functions are implemented within Genero front-ends.
This section describes the front-end functions available for all types of front-ends. Note that several front-end functions are specific to the type of front-end.
Function Name | Description | GDC | GBC | GMA | GMI |
---|---|---|---|---|---|
|
Adds to the content of the clipboard. | Yes | No | No | No |
|
Clears the content of the clipboard. | Yes | No | No | No |
|
Gets the content of the clipboard. | Yes | No | No | No |
|
Pastes the content of the clipboard to the current field. | Yes | No | No | No |
|
Set the content of the clipboard. | Yes | Yes | No | No |
|
Clears the local file cache. | Yes | No | No | No |
|
Executes a command on the front-end platform, with or without waiting. | Yes | No | No | No |
|
Queries general front-end properties. | Yes | Yes | Yes | Yes |
|
Returns an environment variable set in the user session on the front end platform. | Yes | No | No | No |
|
Returns the local window manager identifier of the window corresponding to the AUI window id passed as parameter. | Yes | No | No | No |
|
Prints a screenshot of the current window | Yes | No | No | No |
|
Opens an URL with the default URL handler of the front-end. | Yes | Yes | Yes | Yes |
|
Unloads a DLL or shared library front call module. | Yes | No | No | No |
|
Displays a file dialog window to get a directory path on the local file system. | Yes | No | No | No |
|
Displays a file dialog window to let the user select a single file path on the local file system. | Yes | Yes | No | No |
|
Displays a file dialog window to let the user select a list of file paths on the local file system. | Yes | Yes | No | No |
|
Plays the sound file passed as parameter on the front-end platform. | Yes | Yes | Yes | Yes |
|
Displays a file dialog window to get a path to save a file on the local file system. | Yes | No | No | No |
|
Override the font used for report generation for the current application. | Yes | No | No | No |
|
Override the printer configuration used for report generation for the current application. | Yes | No | No | No |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
Defines the base path where web components are located. | Yes | N/A | Yes | Yes |
|
Opens a file on the front-end platform with the program associated to the file extension. | Yes | No | No | No |
Function Name | Description |
---|---|
|
Calls a JavaScript function through the web component. |
|
Returns the API version of web component front-end calls. |
|
Returns the title of the HTML doc rendered by a web component. |
Function Name | Description |
---|---|
|
Starts the GDC update. |
Function name | Description |
---|---|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEConnect opens a DDE
connection. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEExecute executes a DDE
command. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEFinish closes a DDE
connection. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEFinishAll closes all DDE
connections. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEError returns error information about the last
DDE operation. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEPeek retrieves data from the specified program
and document using the DDE channel. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
DDEPoke sends data to the specified program and
document using the DDE channel. |
Function name | Description |
---|---|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The CreateInstance function creates an instance of
a registered COM object. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The CallMethod function calls a method on a
specified object. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The GetProperty function gets a property of an
object. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SetProperty function sets a property of an
object. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The GetError function gets a description of the
last error which occurred. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The ReleaseInstance function releases an instance
of a COM object. |
Function name | Description |
---|---|
The Init function initializes the
module. |
|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The Close function clears all information
corresponding to a message, and frees the memory occupied by the message. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SetBody function sets the body of the
mail. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SetSubject function sets the subject of the
mail. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The AddTo function adds a "To"
addressee to the mail.
|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The AddCC function adds a "CC"
addressee to the mail.
|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The AddBCC function adds a "BCC"
addressee to the mail.
|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The AddAttachment function adds a file as an
attachment to the mail. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SendMailSMTP function sends the
mail with the SMTP protocol. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SendMailMAPI function sends
the mail with the MAPI protocol. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The GetError function gets a description of the
last error that occurred. |
Function name | Description |
---|---|
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SetSmtp function sets the SMTP server to be
used. |
Important: This feature is deprecated, its use is
discouraged although not prohibited.
|
The SetFrom function sets sender information.
|
Function Name | Description |
---|---|
|
Activates a specific GBC theme. |
|
Gets the active GBC theme. |
|
Lists all available GBC themes. |
Function Name | Description |
---|---|
|
Removes all local storage key/value pairs. |
|
Returns the current value of local storage key. |
|
Returns the list of defined local storage keys. |
|
Deletes the specified local storage key. |
|
Sets a value for local storage key. |
Function Name | Description |
---|---|
|
Lets the user choose a contact from the mobile device contact list and returns the vCard. |
|
Lets the user select a picture from the mobile device's photo gallery and returns a picture identifier. |
|
Lets the user select a video from the mobile device's video gallery and returns a video identifier. |
|
Invokes the user's default mail application for a new mail to send. |
|
Sends an SMS text to one or more phone numbers. |
|
Returns the type of network available for the mobile device. |
|
Returns the Global Positioning System (GPS) location of a mobile device. |
|
This front call retrieves push notification messages. |
|
Creates a new contact, or merges to an existing entry, the contact details passed in a vCard string. |
|
Indicates if the mobile app is in foreground mode. |
|
This front call registers a mobile device for push notifications. |
|
Run an application from the Genero Application Server using the specified URL. |
|
Allow the user to scan a barcode with a mobile device |
|
Lets the user take a picture with the mobile device and returns the corresponding picture identifier. |
|
Lets the user take a video with the mobile device and returns the corresponding video identifier. |
|
This front call unregisters the mobile device from push notifications. |
Function Name | Description |
---|---|
|
Ask the user to enable a dangerous feature on the Android device. |
|
Shows the GMA about box displaying version information. |
|
Shows the GMA settings box controlling debug options. |
|
Starts an external Android application (activity), and returns to the GMA application immediately. |
|
Starts an external application (Android activity) and waits until the activity is closed. |
Function Name | Description |
---|---|
|
Returns the current badge number associated to the app. |
|
Lets the user input contact information to create a new entry in the contact database of the mobile device. |
|
Sets the current badge number associated to the app. |
Function Name | Description |
---|---|
|
Calls a function in a Cordova plugin and returns a result. |
|
Calls a function asynchronously in a Cordova plugin, without waiting for a result. |
|
Returns all results for asynchronous Cordova plugin front calls, based on a callback ID filter. |
|
Returns the number of pending Cordova plugin results. |
|
Returns the first Cordova plugin result from the result queue of all asynchronous Cordova plugin front calls, and removes it from the queue. |
|
Returns details about a specific Cordova plugin. |
|
Returns the list of available Cordova plugins. |