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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How do you retrieve metadataModelPackage info for a ReportView's source Report

Started by slop, 11 Sep 2009 08:07:51 AM

Previous topic - Next topic

slop

As I cycle through my ReportViews, I am trying to retrieve the package information for the associated source report. I can get the searchPath for the source path by including propEnum.@base (i'm using C#), however, this only returns the searchPath and storeId, but not the metadataModelPackage info. Here are the other properties I have included.

propEnum[] props = new propEnum[] { propEnum.@base, propEnum.owner, propEnum.contact, propEnum.searchPath, propEnum.defaultName, propEnum.model, propEnum.modelName, propEnum.metadataModelPackage, propEnum.packageBase};

baseClass[] bc = c8CMS.query(reportsPath, props, s, qo);

After retrieving the searchPath for the source report I could then query the report and get the metadataModelPackage info. However, this really slows these down. I'm hoping that I could get this in the original query.

thanks