![]() |
VOOZH | about |
Reveal is a data visualization solution provided by Infragistics and can be paired with the CData API Server to build dynamic dashboards from live Phoenix data. The CData API Server generates an OData API for Phoenix, which is natively consumable in Reveal. In this article, we walk through connecting to Phoenix in API Server and connecting to the API Server from Infragistics Reveal to create a simple dashboard.
CData API Server uses a straightforward, point-and-click interface to connect to data sources and generate APIs.
Connect to Apache Phoenix via the Phoenix Query Server. Set the Server and Port (if different from the default port) properties to connect to Apache Phoenix. The Server property will typically be the host name or IP address of the server hosting Apache Phoenix.
By default, no authentication will be used (plain). If authentication is configured for your server, set AuthScheme to NEGOTIATE and set the User and Password properties (if necessary) to authenticate through Kerberos.
π Configuring a connection (Salesforce is shown).
After connecting to Phoenix, create Resources, which represent API endpoints for Phoenix data.
Create a User to connect to Phoenix from Reveal through API Server.
When accessing and connecting to multiple different domains from an application such as Ajax, there is a possibility of violating the limitations of cross-site scripting. In that case, configure the CORS settings in Settings -> Server.
Save the changes to the settings.
π Configuring CORS settingsWith the API Server configured, we can visualize Phoenix data in Reveal.
At this point, you have created a simple dashboard from live Phoenix data. For more information on creating OData feeds from Phoenix (and more than 150 other sources), visit the API Server page. Download a free, 30-day trial and start working live Phoenix data in tools that consume OData APIs.
Learn more or sign up for a free trial:
CData API Server