I am trying to create digital signature feature in apex application and was able to do via the plugin created exactly following steps mentioned here:
https://github.com/Dani3lSun/apex-plugin-apexsignature
I used this plugin directly and am able to sign .
However in the interactive grid query below, if i use the query below directly, it throws pl sql numeric conversion error:
I wish to get the report similar to the way its shown in demo application, but am unable to.
Also in interactive grid i cannot find option to set datatype for blob001 column. i want it to be downloadable link.
SELECT c001 AS filename,
c002 AS mime_type,
d001 AS date_created,
blob001 AS img_content
FROM apex_collections
WHERE collection_name = 'APEX_SIGNATURE';
Apex 20.2
The Demo application utilizes an Interactive Report, not Interactive Grid.
Probably that's the source of the error.
Related
.Each interactive report data should come in each tab(i.e) sheet1, sheet2....
Example: In Apex page, I have 5 report region. Each report data should be downloaded in each sheet, In a single excel file.Please provide me a solution, Thanks in advance Karthick.
If you cannot upgrade your APEX environment then, as TineO said, probably AOP is the best option you have.
If you can upgrade to 19.2 or higher, then you can utilize APEX_REGION.OPEN_QUERY_CONTEXT API to get the records of the interactive reports. Then, you can use the Open Source library Alexandria and in particular, the xlsx_builder_pkg package to create the spreadsheets.
Is there a way to get list of pages in Oracle APEX where a particular region exists? For example get a list of all pages that contain Breadcumbs or Classic Report
Absolutely! In fact, this is one of the advantages of APEX being a metadata-driven framework. Go to the Application Builder > Workspace Utilities > Application Express Views. That will give you a listing of all of the views available for you to run the type of reports you're asking about. The Query By Example pages there can be helpful, or you can start running queries in the SQL Workshop:
select application_id,
application_name,
page_id,
page_name,
component_signature
from apex_application_page_regions
where instr(component_signature, 'NATIVE_BREADCRUMB') > 0
Other regions have different signatures, like NATIVE_SQL_REPORT (Classic Report), NATIVE_IG (Interactive Grid), and NATIVE_IR (Interactive Report).
Also, when you're at Application Builder > Workspace Utilities, look on the right for a number of more "canned" reports you may find useful.
This is relatively easy to figure out. You have access to the public apex views that are like a data dictionary on top of the apex metadata. The best way to start is to check who the apex user is by running the following query:
select distinct owner from all_objects where object_name like 'APEX%';
Then use the user that corresponds to your version (in my case that is APEX_190100 since I'm on 19.1) and list all apex views
select * from all_objects where owner = 'APEX_190100';
That list isn't that long you'll quickly find the view you need. Query that view by application_id and look for the information you need. In your case that probably is
SELECT * FROM apex_application_page_regions;
Breadcrumbs has its own view: APEX_APPLICATION_BREADCRUMBS.
You can also see the list of Application Express views (and a short description) via app builder > workspace utilities > Application Express Views
I haven't worked in SSRS for a few years. But I recently changed jobs and my new responsibilities include a heavy dose of report building. In my experience with SSRS I've always been able to build a dataset by including a query string. (See first image.) But I'm using SSRS via a Sql Server Data Tools install in Visual Studio 2017 for the first time, and I have been unsuccessful in sussing out how to include a query string when building a new report. This newer version seems to only offer a graphical, drag-n-drop solution. (See second image.)
How do I create a dataset that relies on a query string, or barring that, is there a way to build a dataset that relies on joined tables, with filters?
Old query designer in SSRS
New query dataset builder
You can still write your own queries. Skip the wizard and start a blank report. Right click data sources and add your SQL server. Then right click Datasets and add a new one. Select "Use a dataset embedded in my report" and your SQL server as the data source.
Now you should see the query window and you can click Query Designer below it. In the top left of the query designer there is an "Edit as Text" button that will allow you to write it out.
Once you have your dataset made you can quickly get back to the query designer by right clicking the dataset and selecting "Query..."
I'm working with Oracle APEX 4.2 and have a connection to it from SQL Developer 4.1.5.21
I've found that many application related information are available in tables like
APEX_APPLICATION_PAGE_DA_ACTS
APEX_APPLICATION_PAGE_ITEMS
APEX_APPLICATION_PAGE_BUTTONS
APEX_APPLICATION_PAGE_PROC
APEX_APPLICATION_PAGE_REGIONS
However I couldn't find documentation of complete list of those tables.
I've also tried looking in SQL developer, but neither there (looking in tables / views / application express ...) could find them. Where are all those tables available?
The objects you listed are just synonyms for the apex exposed metadata views. You can easily query those (view name + column name) with:
select * from apex_dictionary
Or just quickly get all the view names:
select distinct(apex_view_name) from apex_dictionary
These views all query the apex metadata, which is stored in the apex version schema. For example, for apex 4.2 this schema is called APEX_040200, for apex 5 APEX_050000, and so on. Though you will most likely not have direct access to a lot of the objects in there: you're supposed to work with the public (documented) api's and the public views.
In Oracle Apex 5, a user can manipulate an Interactive Report's data with a number of actions (Sort, Filter, Group By, Control Break...). However, when the report is downloaded as a CSV only the Filter action is retained from the manipulations. How can you get the download of an Interactive Report to display the report as is?
The closest solution I could find is a plugin found on github, see Interactive Report to Excel v2
At the time, it worked for the particular report we had an issue with (Control Break on one column, with some Sorting), but when I tried it on a Group By it didn't work.
We have had good results with APEX_IR_XLSX and have added our own customization pieces to it quite easily.