Some examples of widgets include:
- news ticker that refreshes automatically
- graphic clock
- integrated calendar tool
Data can be passed to widgets from the worksheet, and the widget can return data to the worksheet.
Within the Widget HTML code, you can create a hyperlink with the
You can call the function
__macro() with three possibilities.
Examples of function calls:
You can call PHP macros with the function __macro(). A double array is not necessary for a single macro.
__macro([['Module1.foo2', 'bar2'], ['Module1.foo3', 'bar3'],…])
bar3 are values that are passed to the macro
The PHP API has the following functions to access some of the features of Jedox from external PHP scripts:
|jedox_is_logged_in()||TRUE/FALSE if the current user is logged in|
|jedox_get_username()||Gets the user name of the logged in user|
|jedox_get_password()||Gets the password of the logged in user|
|jedox_get_groups()||Gets the groups of the user|
|jedox_get_locale()||Gets the current locale of the user|
|jedox_get_theme()||Gets the current theme of the user|
|jedox_get_sid()||Gets the current session ID of the user|
Note: as of June 2018, a valid API key and a Google Cloud Platform billing account are required to access the core Google Maps API, which is required for Jedox reports and widgets that use Google Maps. For more information, see Google Maps Platform.