Faceted serach - refresh filters on select list value change - oracle-apex

I have custom select list, after change value I call Dynamic Action and refresh my classic report Search Results.
How refresh Faceted serach filters (on the left side) after refresh clasic report?
Note: This is only demo I need my custom select list like this.

Create 2 actions for your dynamic action.
One to refresh the results region, which is the classic report
One to refresh the faceted search region itself
Tested this on 22.2 with a dynamic action like you described and it worked fine.

Related

How to filter visuals in one page based on a table value selected on another

I saw a power bi dashboard that allows me to click on the ID number in a table then when I click on a button, it shows another page and everything is already filtered to that ID number. I don’t have the file (just saw the published dashboard) so I don’t know how they did it. Note that I don’t want a slicer. I want to be able to click on the ID in the table visual and automatically filter another page.
As mentioned in the comments, it’s the drill through function

Hyperlink action in power bi table

I have create a power bi report which contains a table with several columns.
This column contains a list of customers.
What i want to do is to allow user to click on one customer (on one row).
I want to open another table to see the customer's invoices list.
Is it possible to do that with power bi.
I have read a lot of documentation and it does not seem to be possible.
I am asking you because i do not want to miss something
Thanks
Yes possible. You can check Drill Through or Tool-tip options in Power BI. In case of Drill Through, you will need to design a new page with the Invoice details considering a customer and enable the Drill Down option of this page. Finally when you will right click on a specific customer, you will get an option to navigate to that Invoice page. After navigate to that page, you will get the Invoice for that customer you right clicked.
In case of Tool-tip, here you also need to design a separate page with Tool-tip enabled. In this case, if you configure everything correct, you will able to see the invoice as a pop up window rather than opening a new page.
Now you can select the appropriate option for you and there are lot of tutorial available explaining how Drill Through and Tool-tip works in Power BI
=====Work Around======
Here is an alternative option to tool-tip and drill through-
For example you have a page with Region list. Just add a Blank Button below the list and change the type as below-
Now create your Invoice page and add Region to the drill through property as shown below-
Now go back to main page and map the invoice page to the button as shown below-
Now, the invoice button will only enable when a Region is selected in the list and when you click on the button, this will open the Invoice page for the selected Region.
Sample screen shoot-
1. No Region selected, button is disabled-
2. One region selected and the button is enabled now-
3. Button enabled as Asia is selected. When click on the button it opened the Invoice page with Asia data-

How to add update buttons in rows of a Oracle Apex interactive report?

I created a report and a form separately rather than creating a "report with form" in my Oracle Apex application. Because of this there are no update buttons that appear on the left of every row in the report like it does when creating "report with form". How can I add these buttons such that I can use same form, which I am currently using just to create new records, to also update records?
I am assuming the report is in Interactive Report type.
Those are the ones which are normally created for report with form.
In which case if you go under the reports attributes the first one is Link,
by default it should be set to Exclude Link column. You should set it to Link to Custom Target, then define the link to go to your page and set the Primary key item.
And on your form page you also need to set an After Header process to fetch the row and fill the page items based on the filled Primary key. Or you can do something custom here, whatever floats your boat.

How to send report directly to the printer?

I am using Apex 18.2. and ORDS as a printing server.
I have a master-detail page for selling items with a form on a table as the master region and an IG as the detail, joined to each other through assigning the PK to the FK IG's column.
There is another page with a report that can be queried through number of page items to get the documents with items sold in the previously mentioned master-detail page.
Whenever a user creates a document and submit the page, I will need to send the data of that document directly to the printer.
I mentioned the report page because I thought redirecting to it and assigning the PK to the corresponding page item could be a suggestion. But I know that I can create a shared component> report query too. But I do not know how could I send the data directly to the printer in either way.
I do not know if the report type - IR, CR or IG would make a difference. That's why I just referred to "report". But I'd need to know how it could be done with all types of reports.
Here is how a real-world scenario would look like,
You enter a supermarket, buy some items, go to the cashier, pay for what you've bought and get a receipt. The receipt is printed when the cashier saves the invoice.
I know this is not how web apps work, but this is the task I am facing.
I can think of branching to the report page after the invoice is saved and setting the PK value to the corresponding page item in the "search criteria" region to get the corresponding data then execute "window.print()". But there will be two problems then. 1- criteria region would be printed too, unless I hide it with a dynamic action or else. 2- The "print dialog box" of the browser will be displayed.
APEX 20.1 added native support for PDF printing of Interactive Grid regions. See this video: https://www.youtube.com/watch?v=e1yIFcEdW_o
If you can't upgrade, or if that support isn't sufficient for your needs, I suggest taking a look at APEX Office Print: https://www.apexofficeprint.com/index.html
APEX Office Print(AOP) can provide you the right solution.
Please try out the solution posted in the below link.
http://dgielis.blogspot.com/2020/01/print-pdf-from-oracle-apex-to-local.html
Few more examples:
How to print to an IP printer:
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/5034?session=13740999314649
How to print directly to a zebra printer
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/zebra-printer?session=6208952429228
(OR)
https://dgielis.blogspot.com/2020/01/printing-to-local-zebra-printer-from.html
If you are redirected to the Home page,
-> Click on examples in the left side menu.
-> Click on Print(highlighted in yellow).

refresh of one report region in apex

I have page with 10 clasic reports and 10 form region (one for each report). On each form region is button with Dynamic action witch
insert data in table. My problem is how to refresh just one report after I insert data so that new data is shown in report. I tried to add another
true action in Dynamic action (refresh region) but it has no effect. Anyone had any idea? Apex version is 4.2
Thanks in advance.
One thing you can do is.
Assign Static ID to your every reports, Like 'myReport1', 'myReport2' or what ever you want (ignore if you already did).
on each button click when you are updating database,
add one more True Action with Execute JavaScipt Code in your existing Dynamic Action.
and put $('#myReport1').trigger('apexrefresh');
repeat this for all of your Reports with relevant Report ID.
This is a frustrating issue and one which I have hit a few times...
Things to check:
Report region is region type: SQL query (PL/SQL Function body returning SQL Query - cannot be refreshed using a standard refresh dynamic action).
Ensure that: id="#REGION_STATIC_ID#" is in the Report template you are trying to refresh
Navigate to: Report Attributes > Layout and Pagination: ensure that "Partial page Refresh" is set to Yes.
Ensure that: any page item values which your SQL report is based on are submitted, these can be entered under Region Source in the "Page Items to Submit" box.
In the "Attributes" in "Pagination", "Partial Page Refresh" should be "Yes". otherwise classic report does not refresh.
Check if you have selected the Template "Standard" in Section "Appearance" of your Classic Report. This solved my problem with refreshing in Apex 5.