Prehaps if I rephrase this I might get some comments :)
Has anyone sucessfully made a copy of an Application using Deployment? if so any advice would be appreciated.
I have an existing Contributor application which I wish to make a copy of, including the data.
The copy needs to have a Package and be GTP'd so users can access it.
The original app needs to remain in place.
In 7.3 this could be done using the import/upgrade function.
I am now in 8.3. I have done a deployment out sucessfully.
When I do the deployment Import I select the Deployment Archive Name, Application, Namespace Mapping, User Group Role Mapping.
I then come to the Object Mapping where you select a target from the ellipse button (...)
If I just select OK then this will overwrite the existing application (bad!) so I need to change the Application Display Name, Datastore Name and Application ID. I can then Finish and this will run the Import.
I now have 2 applications App1 and App1_x.
If I try to GTP App1_x then I get an error message saying
CM-REQ-4221 You cannot create an additional object of type "planningApplication" because the maximum number of objects of this type already exists in the location "/Public Folders/App1_x (of type "Package").If I GTP App1 then the Package details for App1 change in Cognos Connection and the URL changes too.
Original MessageTrying to copy an existing application - including the data, but cannot get the Deployment Import to work.
In Cognos8 the new application seems to point to the old application - I suspect this is due to the package configuration?
In 7.3 this was easy to do using the Import/Upgrade option.
Thanks
Hi, welcome on-board.
Even if I haven't such an error I could think of two things:
- Have you tried to rename the package name in the developments 'GTP Options' (menu item)
- Are you running on 8.3 or on 8.3 SP1? I heard that SP1 has a real bunch of hot fixes insight
I have managed to get this to work; although I am sure other methods would get the same result :)
1 Deployment Export Model and Data of original model (ModelA)
2 Deployment Import - In the object mapping section change the Application Display Name, Datastore Name and Application ID (to ModelB)
3 On ModelA change the Package name under GTP options (to ModelA_x)
4 GTP ModelA leaving the Create Planning Package box ticked
5 GTP ModelB leaving the Create Planning Package box ticked
6 On ModelA change the Package name under GTP options back to ModelA from ModelA_x
7 GTP ModelA again
Thanks Moocher ... that was helpful!