I forgot to respond, that it is simple. It's not "official" way, but I saw that when in interactive mode, all data objects get an extra attribute in html output. If you remove it, the object is not interactive anymore.
So to remove interactivity on all objects, then we just add one code line
// remove interactivity
$('[roid]').removeAttr('roid');
------------------------------
Žane Logar
------------------------------
Original Message:
Sent: Wed February 20, 2019 02:51 PM
From: Žane Logar
Subject: Disable interactivity fuctionalties but enable CustomControl
I am aware of that.
But I would like to use Custom control, because of require.js and mainly because of datasets within CS.
So to use CS, but also disable actions got with full interactivity ON.
------------------------------
Žane Logar
Original Message:
Sent: 02-20-2019 01:50 PM
From: SAMI EL CHEIKH
Subject: Disable interactivity fuctionalties but enable CustomControl
Hi Zane,
Thanks for posting to the community!
In Cognos Analytics, JavaScript in HTML items is executed only when the report is run with limited interactivity (the report property Run with full interactivity is set to No).
Here is the supported documentation:
https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_cr_rptstd.doc/t_rpting_add_javascrpt.html
If you would like to see this feature added, please log a Request for Enhancement at the site below so we can investigate the need for this further:
https://ibmanalytics.ideas.aha.io/
Thank you,
------------------------------
Sami El Cheikh
Offering Manager
IBM Cognos Analytics
Original Message:
Sent: 02-20-2019 07:45 AM
From: Žane Logar
Subject: Disable interactivity fuctionalties but enable CustomControl
We need to have only Custom control functionality enabled, but we would like to disable all others.
We are building report (in report studio as report). We included custom D3 visualizations and interactivity. For fast report loading and response times. But we do not build in interactive behavior on this dashboard, as this are great for standard reports but not to have them on dashboard.
------------------------------
Žane Logar
------------------------------
#CognosAnalyticswithWatson