Page History
...
This guide is divided into the following broad sections:
- Using the JSAPI JS API in a Code Mode Dashboard
- Using the JSAPI JS API to embed Yellowfin content. This section describes the basic prerequisites required to use the JSAPIJS API, and then provides detail on how to embed content using the Embed Link method and the Advanced API method.
- Detailed API references for each sub-API, including:
- Base API - Advanced API
- Dashboards API
- Sub Tabs API
- Reports Report API
- Filters API
- Filter Objects API
Each API reference contains:- An overview and a description of the purpose of the API
- Any properties if applicable
- A function reference (Description, parameters, returns, code snippet)
- An event reference
- Limitations - such as whether a feature can be used in code moremode, embedding mode or both.
...
The Yellowfin JavaScript API is dependent on Cross Origin Resource Sharing(CORS). By default, any CORS request that is made to the Yellowfin server will be rejected. The first thing you will need to do is enable CORS requests from the server you will be using the JsAPI JS API on.
You can do this by going to the Admin Console in Yellowfin and adding the server URL to the general configuration options. This can be found in Administration -> Configuration -> System -> General Settings
...
Once this is enabled on your Yellowfin server you can start to embed your content.
Creating Yellowfin Content
Any content that you want to embed, will first need to be created to be embedded must first exist in Yellowfin. The various techniques involved in creating Yellowfin content, such as Data Source Connections, Views, Reports, Charts and Dashboards - , are all fully described in the this wiki.