Tuesday, March 30, 2010

OLAPDataGrid and IOLAPResult from XML/A

Hi guys

I am working with the OLAPDataGrid, i read from

http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:OLAP_API_and_O LAP_Data_Grid

that OLAPDataGrid can talk with OLAP Servers

Can OLAPDataGrid talk with other OLAP Servers? - YES

OLAPDataGrid consumes an IOLAPResult and if your backend is some real OLAP server or even some other cube implementation you can implement the IOLAPResult interface and thus can make OLAPDataGrid display your query results

I implement a C# web service where i pass to it the MDX query where i execute it against SSAS, after it i save the result (which is XML/A) into an XML File.

Then i am getting the content of the file through %26lt;mx:httpService%26gt;

i read that i can write the following olapDataGrid.dataprovider = result as IOLAPResult

where result is the content of the file.

The problem is that the data are not loaded into OlapDataGrid.

should i parse the XML/A result and retrieve the value then bind it to the olapDataGrid

What shall i do?

Thank you

Please it is urgent

-Elie

No comments:

Post a Comment