Cognos Analytics with Watson

 View Only

Administration – Changing the behaviour of Object Copying in Cognos Analytics

By KEVIN MCFAUL posted Mon September 18, 2017 08:44 AM

Retaining target object ID’s when copying objects

By default, when you copy objects to a new location, the copied object completely overwrites the existing object, including any links for the object. This behavior ensures that reports reference packages properly. However, you can change the default copying behavior. For example, you can change the copy behavior if you are overwriting reports that do not reference packages, and you want to maintain a job schedule to run the reports.  You can update a configuration so that when you copy objects, the content of the target object is overwritten, but the ID of the target object is retained.  You can then refresh a report by copying a newly authored or modified report and overwriting the target report; the job continues to run the report successfully.

To enable 'update' behavior when copying objects overwrites existing objects launch a browser and update the sample URL shown below to the name of any dispatcher in your environment or gateway in your environment:


The configuration setting that needs to be updated is:
Value: true or false
Default: false

In the Name property enter: Portal.updateTargetObjectWhenOverwrite
In the Value property enter: true

There is no restart of the system required but they system needs approximately 10 seconds to make the change. Once completed you will be able to copy a report overtop of an existing report, choosing overwrite but the objects Object ID will not be updated. The setting can be changed back to the default setting by setting the value back to “false”.