COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Robl on 06 Sep 2016 05:26:55 AM

Title: Recreate a Model from a Package
Post by: Robl on 06 Sep 2016 05:26:55 AM
Hi,

Is it possible to recreate an FM Model from a package?
I've googled and found some very old posts suggesting a free tool or moving some XML, but I was wondering if anyone has done it recently or has any personal experience in doing it.

Why do I need to do this?
Don't ask. :)

Title: Re: Recreate a Model from a Package
Post by: BigChris on 06 Sep 2016 05:50:04 AM
If all you've got is the package I'd say you were basically scr3wed. If it was a very simple model and a corresponding simple package you might be able to reverse engineer the model, but it wouldn't be a simple task.
Title: Re: Recreate a Model from a Package
Post by: AnalyticsWithJay on 06 Sep 2016 07:01:27 AM
Quote from: Robl on 06 Sep 2016 05:26:55 AM
Hi,

Is it possible to recreate an FM Model from a package?
I've googled and found some very old posts suggesting a free tool or moving some XML, but I was wondering if anyone has done it recently or has any personal experience in doing it.

Why do I need to do this?
Don't ask. :)

I've done this several times for clients who have lost their models. You're correct that you can use the XML instructions to download the model from the content store.

The one thing to be aware of though - is that the package/model that's stored in the content store will only contain what's published in the package (and what's selected to be in the package but hidden). Any query subjects or objects that were not published are not recoverable.
Title: Re: Recreate a Model from a Package
Post by: Michael75 on 06 Sep 2016 07:02:08 AM
You can try one of these:

http://www-01.ibm.com/support/docview.wss?uid=swg21505488 (http://www-01.ibm.com/support/docview.wss?uid=swg21505488)
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
(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)
http://www.motio.com/blog/2011/09/06/recover-lost-cognos-framework-manager-model.do
(http://www.motio.com/blog/2011/09/06/recover-lost-cognos-framework-manager-model.do)
http://performanceg2.com/2011/08/30/recovering-framework-manager-from-content-store/
(http://performanceg2.com/2011/08/30/recovering-framework-manager-from-content-store/)
http://cognospaul.com/2013/07/31/recovering-changes-made-to-framework-after-a-crash/
(http://cognospaul.com/2013/07/31/recovering-changes-made-to-framework-after-a-crash/)

Personally, I've used MotioPI to do this a couple of times. Don't ask. :)