Enabling Save and Save As for Analysis Views
Edit the "datasources.xml" file
There is a "datasources.xml" file located at "$PENTAHO/pentaho-solutions/system/olap/" In this file you point to the different cube schemas that are in your solution - this enables the "Save" and "Save As" functions. See the XML snippet below for the sample datasources.xml file<?xml version="1.0" encoding="UTF-8"?> <DataSources> <DataSource> <DataSourceName>Provider=Mondrian;DataSource=Pentaho</DataSourceName> <DataSourceDescription>Pentaho BI Platform Datasources</DataSourceDescription> <URL>http://localhost:8080/pentaho/Xmla?userid=joe&password=password</URL> <DataSourceInfo>Provider=mondrian</DataSourceInfo> <ProviderName>PentahoXMLA</ProviderName> <ProviderType>MDP</ProviderType> <AuthenticationMode>Unauthenticated</AuthenticationMode> <Catalogs> <Catalog name="SteelWheels"> <DataSourceInfo>Provider=mondrian;DataSource=SampleData</DataSourceInfo> <Definition>solution:steel-wheels/analysis/steelwheels.mondrian.xml</Definition> </Catalog> <Catalog name="SampleData"> <DataSourceInfo>Provider=mondrian;DataSource=SampleData</DataSourceInfo> <Definition>solution:steel-wheels/analysis/SampleData.mondrian.xml</Definition> </Catalog> </Catalogs> </DataSource> </DataSources>
on 10/08/2009 at 12:34