COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: Mpotla on 31 May 2011 01:16:22 AM

Title: Name of the .cpf file using package contents
Post by: Mpotla on 31 May 2011 01:16:22 AM
Hi all,

I have package published to Cognos connection. Would it be possible to know the name of .cpf file used to publish the package.


Thanks in advance.

Mohan.
Title: Re: Name of the .cpf file using package contents
Post by: hthakkar on 31 May 2011 01:33:18 AM
Hi Mohan,

Can you please elaborate more on your concerns.

As the name of the package appears in the Cognos Connection,but the name of the  .cpf file is really difficult to trace out.

Thanks,
Hitesh

hthakkar@infocepts.com|www.infocepts.com
Title: Re: Name of the .cpf file using package contents
Post by: hthakkar on 27 Jun 2011 07:14:52 AM
Hi,

Please try out the steps in the link below:
http://www.cogknowhow.com/index.php/knowledge-articles/30-cognos-8/375-how-to-recover-a-framework-manager-model-from-the-content-store-in-cognos-8

Let me know if this helps.

Thanks,
Hitesh
---------------------------------------------------------
hthakkar@infocepts.com|www.infocepts.com
---------------------------------------------------------
Title: Re: Name of the .cpf file using package contents
Post by: bvk.cognoise on 30 Jun 2011 12:22:19 AM
HI follow these steps,


1. Create a cqeconfig.xml file and save under <C8ROOT>/configuration Place the following in the file. Due to this file the XML version of the model will be stored in the rtmodel directory as well:

<?xml version="1.0" encoding="UTF-8" ?>
<configuration company="Cognos" version="0.1" rendition="cer2">
<component name="CQE">
<section name="General Options">
<entry name="KeepModelXML" value="1" />
</section>
</component>
</configuration>

2. Stop 'Cognos 8' service and rename the <C8Root>/data/cqe/rtmodel directory, or delete all content. When a framework is opened the rtmodel version of the framework is copied there again.
3. Restart the 'Cognos 8' Service
4. Open Cognos 8 Report Studio, and create a new report based on the package you wish to recover. Run the report.
5. Check if a new <C8Root>/data/cqe/rtmodel directory has been created, and that an XML file has been added to the <C8Root>/data/cqe/rtmodel directory. Copy the XMl file which contain your framework content to another directory ie. c:\fm_rescue.
6. Rename or delete cqconfig.xml or delete it.
7. Restart the 'Cognos 8' Service again.
8. Open Framework Manager, and create a new, empty project. (Select the design language, and cancel out at the MetaData wizard step and save).
9. Close Framework Manager.
10. Goto the directory for the empty Framework Manager project.
11. Copy the generated xml file by Cognos 8 content query engine from the c:\fmrescue directory, into the framework Manager project directory.
12. In the Framework Manager project directory, delete the original model.xml file and rename the generated xml file to model.xml.
13. Open the restore model in Framework Manager and save it.


thanks
bvk