COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => COGNOS Planning => Topic started by: smithdj2416 on 11 Jun 2009 11:43:47 AM

Title: Copying application using deployment wizard
Post by: smithdj2416 on 11 Jun 2009 11:43:47 AM
Hi everyone
New to the forum as exhausted all "official" Cognos help!

I have an applicaiton which has already been set up with all the usual navigaiton, orientation, access tables etc. I need to create an exact copy of this application but base it on a (slightly) different analyst library
I tried using the deployment export and import but at no time can you change the analyst library. The applicaiton is created with all of the seetings ok but it still looks at the "old" library". Is is possible to change this associated analyst library. I know the contributor library uses the GUIDs for the elist so I don't think it is possible.
I have a feeling I will have no option but recreate and set up all of the options from scratch
Yours hopefully!
Dave
Title: Re: Copying application using deployment wizard
Post by: moocher on 11 Jun 2009 02:34:54 PM
If you make a copy of the Analyst library, and then do the deployment out and in, you can then point the 'new' Contributor application to to the copied library. You can then make the changes in the copy Analyst library.



Title: Re: Copying application using deployment wizard
Post by: smithdj2416 on 12 Jun 2009 03:42:52 AM
Thanks for the reply, but I still don't how I "point" the new application to the new library when importing an deployment
Cheers
David
Title: Re: Copying application using deployment wizard
Post by: SomeClown on 12 Jun 2009 06:52:36 AM
I would agree with your guess that it's not possible in the product, for the reason you pointed out: the Contrib library has the Analyst/Contributor GUID link files in it.

Only way I could see it working (and please do this in dev where you can destroy the applications safely), is the following:
Create a new analyst library (library copy in Analyst) to new number
Find the libno file (can't remember what it's called)
Go into windows explorer, copy over all files but the libref file
Export deployment package
Hack XML to change analyst libno in package (never done this)
Import
Delete the old Analyst library

Last step (delete) is in there because you've just created a second library that has the same GUIDs for objects as in the first library.  Not sure how Analyst would handle that, especially if you opened the same cube from the two not-so-different libraries.

I'm also guessing you can't really delete/change the old library (thus the copy question), so there's probably no real way to do this.
Title: Re: Copying application using deployment wizard
Post by: moocher on 12 Jun 2009 01:30:19 PM
smithdj

once you have done the deployment import wizard, in the 'new' application go to synchronise, and select the copied analyst library

Title: Re: Copying application using deployment wizard
Post by: adityashah27 on 14 Jun 2009 03:41:05 AM
restore the application db and synch it with the new library...