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

extracting package xml from fm model.xml file

Started by karthik.cognos, 01 Sep 2015 04:43:03 PM

Previous topic - Next topic

karthik.cognos

Hi,
My Cognos FM model has 2 packages in it and I was looking to extract xml specific to a package from the model.xml file...Is this possible?

Thanks,
KC

bus_pass_man

I'm guessing you want to generate a report which lists what objects are included in each package. 

It isn't something you can get directly.   Packages point to security views and security views contain collections of objects which have been explicitly included, excluded, and hidden.  Objects which implicitly included, excluded, or hidden through inheritance of its parent (or another ancestor container ) inclusion state are not listed.  To make things more complicated you can explicitly exclude an object from the package but it can be included in the package if an object which is in the package uses object references from  the excluded object.   

There's functionality called model report which you might want to explore.   

If a package contained a list of all the objects in the model and their inclusion state for that package you would very rapidly bloat the model by nx where n is the number of packages and x is the size of the model.