Hi Jenifer,
Let's say you have 2 reports: Report1 an Report2.
Report1 will drill through Report2.
When you create the Drill through definition in Report1, you should
disable "open in a new windows":
In Report2, add a block, on the top. In this block, add an HTML element with the following code:
<!DOCTYPE html>
<html>
<body>
<button onclick="Previous()">Go Back 1 Page</button>
<script>
function Previous() {
window.history.go(-1);
}
</script>
</body>
</html>
You need to go to the report property page and disable Run with full interactivity:
Save both reports and run Report1 in HTML.
Best regards,
------------------------------
Patrick Neveu
Positive Thinking Company
------------------------------
Original Message:
Sent: Tue September 27, 2022 09:56 AM
From: Jenifer Broughton
Subject: Cognos 11 - How to add a back button for a drill through report.
I'm not having much luck trying to add a back button to a drill through report.
Any solutions I can test?
Thanks,
Jen
------------------------------
Jenifer Broughton
------------------------------
#CognosAnalyticswithWatson