Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
Cube Names not getting Displayed when using FlatData Source
posted

Hi,

I am binding the xamDataSelector with a FlatData Source. After providing the FlatDataSource with the list of Cubes which i want to display, i am not able to see any of the cubes. Can you please let me know where i am going wrong.

Following is the code:

 

 

 

dataSource =

 

 

new FlatDataSource

();

dataSource.ConnectionSettings =

 

 

new FlatDataConnectionSettings

();

 

 

 

 

foreach (var e in

lstCube)

{

 

 

 

CubeMetadata cubeMetaData = new CubeMetadata

();

cubeMetaData.DisplayName = e.Name;

cubeMetaData.DataTypeFullName = e.Name;

dataSource.CubesSettings.Add(cubeMetaData);

}

PivotGrid.DataSource = dataSource;

PivotDataSelector.DataSource = dataSource;

 

Thanks,
Sachin.