AJAX Callback Type

From dispage wiki

Jump to:navigation, search

Enhanced Studio makes the AJAX usage easy and fully exportable across different SugarCRM installations.

AJAX calls can be performed from a Code field (for example using jQuery): from Enhanced Studio 3.1.04 even the AJAX Callback can be programmed from SugarCRM application.

The advantages over a traditional PHP script manually added to the SugarCRM directory are easy to see:

Ajax callback.png

Figure 1

Once added an AJAX Callback field, it can be called with the URI



params[<key_1>]=<value_1>& ā€¦ &params[<key_n>]=<value_n>

where all keys and values must be URL-encoded.

An example of AJAX callback usage is Autocomplete AJAX country field .

dispage support