If you are unable to create a new account, please email support@bspsoftware.com


Problems publishing Time based partitioned cube with Transformer SDK

Started by luisventura, 04 Jul 2013 08:15:57 AM

Previous topic - Next topic


We are trying to create a PowerCube datasource programatically from an .NET application.                                                       
We're using the Cube.PublishDatasource(bool) method, and it works fine for normal Cubes.                                                       
But, if we try this with a Cube gruped by a date (a time-based partitioned cube), we receive a HRESULT:
0x80020005 (DISP_E_TYPEMISMATCH) exception.                             
We have no seen the PublishDatasource method in the CubeGroup object,   
but, from the Transformer application I can use the "Publish PowerCube 
as Datasource and Package" option without problem.                     
Is there any way of creating the Datasource for a CubeGroup object in   
Cognos using the Transformer SDK?                                       
We're using Cognos 10.1.1 and .NET Framework 4.0.