If you are unable to create a new account, please email support@bspsoftware.com

 

Is there a way to refresh the Report Service using the sdk?

Started by Ridiculon, 01 May 2017 04:16:10 PM

Previous topic - Next topic

Ridiculon

Hi all,

As the title says I need to know if it is possible to refresh the Report Service through the sdk. I have found a way to turn it off and on again, but i would like to replicate this instead: https://www.ibm.com/support/knowledgecenter/en/SSMR4U_10.1.0/com.ibm.swg.ba.cognos.ug_cra.10.1.1.doc/t_refreshreportserviceconnections.html

Thanks!

aussieadam

Check out "Hot Swapping Power Cubes" for the sdk below. I believe this mimic's the refresh report service functionality within cognos.

https://www.ibm.com/support/knowledgecenter/en/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.dg_sdk.10.2.2.doc/i_d15e256604.html#bi_bus_api_server_administration_hot_swapping_powercubes_steps_hot_swapping_powercube
I came to that assumption by looking at this documentation:
http://public.dhe.ibm.com/software/data/cognos/documentation/docs/en/11.0.0/ug_cra.pdf
on page 58 it states
"If a PowerCube has been rebuilt, you can update the connection information without affecting current users. You must first update the connection information to the rebuilt PowerCube, and then refresh the report servers to use the rebuilt PowerCube for new connections."

I also did the same for my project and tailing the logs i saw that doing it through the sdk is the same as pressing refresh report service in the UI.