The SDK samples described in the following table work with the following set of universes and documents:
You must deploy the LCMBIAR file included in the ZIP file in your CMS repository to be able to run the samples. The archive file is lcmbiar/RaylightSamples.lcmbiar. Once run, Web Intelligence documents are generated in the CMS repository and can be found under Documents/Folders/Web Intelligence Samples.
Class |
Description |
---|---|
CreateAndSaveSample |
Creates and saves an empty Web Intelligence document:
The data provider and query specification are attached to the document and available for future use. To display traces in the console, you can uncomment the line containing deleteDocument(newDocID). |
ChartSample |
Adds four charts to an existing document:
|
TableSample |
Adds a table with seven columns to a document:
|
RefreshSample |
Refreshes a document through different ways:
|
ScheduleSample |
Schedules a document through different ways:
Only the schedule to the BI launch pad does not require CMS server configuration. |
FreeHandSQLSample |
Uses the free-hand SQL data provider:
You must know the database schema before using a custom query. |
ChangeSourceSample |
Changes the data source of an existing document:
To edit the mapping and set up your own data objects, you can uncomment the line containing editMapping(). |
The com.sap.webi.raylight.samples.resources package contains XML descriptions used in sample requests, such as the query specification. The com.sap.webi.raylight.utils package provides classes that help to perform utility actions in the samples (for example, login, fill in CMS parameters, send a request, and so on). The com.sap.webi.raylight.param contains the parameters required for sample execution.