IC Cube Reporting: Fire events from an Embedded Report - iccube-reporting

I am using an embedded report widget, and a select control widget that opens report A and report B in this embedded report.
Is there a possibility to create an event (e.g. Click on Chart) inside report A which opens report B in the same embedded report widget?
If yes, is it possible to also hand over a set of filters to report B?
*
Here you can see an example:
jump between embedded reports
And another questions about navigation:
Is there a possibility to open a report in a new browser tab, applying a set of filters to it?

Related

Calling a non-modal dialog page passing IR report ID in page url

I am trying to change all popup pages in an app from normal page template to non-modal-dialog page template in apex 5.1
I'll try to describe the complete use-case:
I have an Interactive report page with link columns for each record which opens a dialog window where users can edit/interact with the record.
The dialog has Previous/Next buttons to allow users to navigate through the records.
When a filter is set on the report, the dialog window should take this into account in the Next/Previous behavior.
For e.g. if the report filter selects only one row, then the dialog window Next/Previous buttons are disabled because there are no more rows shown by the report to navigate through.
For this functionalities, I need to pass the IR-report ID to the non-modal page.
Now the href property of the link column in the IR report should be something like:
javascript:apex.navigation.dialog('f?p=123:40:12345678:::40:P40_SIGNAL_DEF_ID,P40_IR_REPORT_ID,P40_MODE:42,41982451655076402,E&p_dialog_cs=NwEcqexhNPGD1VziCXol65xHCP8',{title:'SIGNALS_DIGITAL',height:'auto',width:'720',maxWidth:'960',modal:false,dialog:null},'t-Dialog-page--standard '+'',apex.jQuery('#myStaticID'));
Only two parts in this link I am concerned about. One is the checksum part (p_dialog_cs=NwEcqexhNPGD1VziCXol65xHCP8) and other part is the IR report ID(41982451655076402) I used apex_util.prepare_url function in the SQL query but this is not returning IR report ID something like :
javascript:apex.navigation.dialog('f?p=123:40:12345678:::40:P40_SIGNAL_DEF_ID,P40_IR_REPORT_ID,P40_MODE:42,,E&p_dialog_cs=NwEcqexhNPGD1VziCXol65xHCP8',{title:'SIGNALS_DIGITAL',height:'auto',width:'720',maxWidth:'960',modal:false,dialog:null},'t-Dialog-page--standard '+'',apex.jQuery('#myStaticID'));
I am not able to get the IR report ID here I tried using $v("myStaticID_report_id") inside this query but not working(though it is working in console)
So right now I am calling apex_util.prepare_url with dummy string say 'report_ID' the result I am passing to a javascript function as an argument. In javascript function, I am extracting the url part of the string(because I need the checksum value) and then replacing the dummy variable with $v("myStaticID_report_id") and then calling apex.navigation.dialog from there.
Now its functional but this needs to be repeated in almost 70 pages in my application. So I want to know if there is a better way to do this.
Thanks in advance

Uncheck checkbox after alert message

I created dynamic action in oracle apex i.e when selecting more than one check box it displays that "to select only one checkbox" if i click ok button of this message the checkboxes should be unchecked
After the confirm DA, add another DA with plsql code
:PXX_CHECKBOX_ITEM := null;
items to submit ->
:PXX_CHECKBOX_ITEM
What Valerio wrote would work, but I am guessing this is to do with the apex.item stuff you have been dealing with.
You will need to add another DA that is triggered by clicking the ok button. Then you need to have the DA run Javascript code. Since I saw you were asking about how to run javascript, in this case you need to go into the true actions of the dynamic action and set the Action to Execute Javascript code.(For other Javascript code you can click on Page XX: Name of page in the Rendering tab on the left, and if you scroll down on the right there should be a section for Javascript)
And the Javscript code you need to execute to uncheck should be $s or something similair. https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html is a good starting point on just these basics.
I actually tend to avoid interactive reports, I prefer Interactive Grids. But you do you. If you do get into Interactive grids I recommend you go through this: https://github.com/mgoricki/orclapex-ig-cheat-sheet

I am facing difficulties to set parameters in power BI reports and in dashboards also

Currently, I'm using the Power BI Designer (newest version). I'm completely new to it. I'm wondering how to set a parameters in reports and dashboards.So please help me..
Open your report in Power BI desktop application, then go to tab:“Manage Parameters” dialog in the Query Editor window.
and into that dialog you can create new parameters and specify metadata and settings for new parameter:
After defining one or more parameters and clicking OK in the “Manage Parameters” dialog, users will get back to the Query Editor dialog and will see a new query defined for each parameter. Then, that parameter can be referenced from appropriate query.
Right now, reports support filters that you can set in the filters pane. Dashboards do not support filtering. Supporting more traditional parameters is something we're looking at. Suggest you create an idea on support.powerbi.com so we can keep you updated.

APEX 3.2: Button to download interactive report data to Excel

My requirements are to create two buttons. One button that will download all of the data in an interactive report (Select * from DB_TABLE). The other button will download the interactive report data based on filter items (Select * from DB_TABLE where Name = :P1_Name)
I thought about utilizing javascript:gReport.controls.download(); but that didn't seem to work.
Any ideas or sites you can point me to? Many thanks in advance.
And no, I don't know why they want two separate buttons to download the report instead of using the 'Download' button in the interactive report menu.
Set the Request value of the button to CSV, so your link looks like f?p=181:9:3839908094418724:CSV::::
This will only perform the default CSV download though. There is however no built-in way to get the query from an IR. What i mean by that is that an IR which has filters applied.
If you only want to download results which are filtered through page items in the where clause, and don't bother with any IR filters or such, you could set up a report on another page, and have your link for a second button target that page (with CSV in request, but do use a redirect). The browser will prompt you with a save dialog, but you'll not end up on the page.

oracle apex interactive report template

I have several similar interactive reports. I want to have some kind of a template to which all reports will adhere. For example each report need to have a button and it's tedious to add button to each new report. If I want to change something in common part of all reports, I will need to go through all reports and apply changes that is difficult.
There isn't an ideal solution for you, but here are some things you can do to make creating new reports easier:
When creating a new Interactive Report (IR) region in an application, you could start by copying an existing IR in the same application. This gives you the option to copy any associated items and buttons at the same time.
You can create a "template" page (I normally call it a "skeleton" page to avoid confusion with the concept of Apex templates) with a typical set of components: IR region, standard buttons, items, processes. To create a new report, create a new page as a copy of the skeleton page and then modify it as required.
Neither of these deal with your second problem: if at a later date you decide that all IR regions should have a new "Foo" button, you are going to have to change each one individually. You could consider an approach using the Apex Builder APIs to generate such buttons, but if you did that (I have in the past) you wouldn't be supported by Oracle!