Application extensions are JavaScript code snippets that modify and extend the behavior of the Jacada client applications. As extensions are generally very individualized to specific organizational needs, they are not provided out-of-the-box. However, you may create an unlimited number of extensions for your account.

Extensions do not need to be made up of Jacada Interact specific code. They can contain any JavaScript code, e.g., some plug-in code of a third party.You could also load a JavaScript or CSS file dynamically from within an extension. Extensions are treated as plain JavaScript code that is loaded into the page DOM in a predefined order for a particular client. When an extension invokes special code supported by the Jacada Interact framework, the code can be used by the framework to extend or override the default behavior of the client.

The following example shows an extension written to extend the Mobile Web application by supporting swipe gestures for page navigation. The code on lines 4 and 7 initializes the extension, accesses the application, and specifies the extension point to extend (pageRenderer). For more information about how to write extensions, refer to Creating Application Extensions.

All defined extensions are listed on and managed from the Extensions page of the Admin Console. New extensions are also created from this page, by clicking the Add button. Once an extension is created, it is activated in the relevant client(s) by updating the client settings of the application(s). For more information about creating and managing extensions, refer to Working with Extensions in the Admin Console.

As extensions are very powerful, they should be written and managed only by experienced developers who are familiar with Jacada Interact client architecture. Authors of extensions should also be familiar with the following areas of web development:

  • JavaScript and CSS
  • HTML
  • jQuery library
  • Ajax calls
  • Browser inspection and debugging

Note: Users with roles of Interaction Admin and up are authorized to create and work with application extensions.

The following topics present:

Revision:

Comments