ODataDB Sample 20 - Cube App

This sample demonstrates two methods for creating forms to view and edit cube data.

Typically, these forms display dimension members across three axes: page, columns, and rows. Below is an example.

The "traditional" method, described in previous samples, requires the following objects:

Here is a form sample for this (you can use your browser's developer tools to analyze requests).

The form above is built using the following objects:

The s20.usp_web_form_01 procedure returns a JSON object containing arrays of parameters, columns, rows, and cells.

Both methods have their pros and cons. Choose the one that best fits your requirements.

Code Browser



You can download samples for any supported database platform using the SaveToDB SDK.