Expose a report through Apex 5.0.2 and ADR 3.0.2 RESTful service

Hi all

Currently, I am trying to expose a report through RESTful service and have used the following documentation to the for do:

https://docs.Oracle.com/database/121/HTMDB/advnc_web_services.htm#HTMDB27000

I can't find where and how expose the report.  My page is public, and the security to allow RESTful services instance is set to yes.  I have an interactive report and a classic report, but none of them seem to have the option.

I use Apex 5.0.2 and ADR 3.0.2.294.08.40.

Does anyone know how to do this?

Thank you

Daniel

Hi Daniel,.

If it is a classic report, you have the instance parameter to allow the Restful Services and the page is public, you must change the page using the view component inherited (not Page Designer). In the attributes section you will find the option to activate the relaxing access report.

Kind regards

Jason

Tags: Database

Similar Questions

  • Unable to access REST services with Apex 5.0.3 and ADR 3.0.3 in standalone

    Hello

    I'm trying to get my APEX with ADR 3.03 installation and for the life of me can not get of work REMAINS.  When I try to run the tutorial of

    Creation and use of RESTful Web application services Express 5.0

    I get the following error in the window of standalone ADR

    Journal of the oracle.dbtools.common.config.db.ConfigurationValues 12 January 2016 17:45:16

    ATTENTION: * jdbc. MaxLimit in apex_al configuration uses a value of 10, this setting cannot be sized properly for a production environment *.

    Journal of the oracle.dbtools.common.config.db.ConfigurationValues 12 January 2016 17:45:16

    ATTENTION: * jdbc. InitialLimit in apex_al configuration uses a value of 3, this setting cannot be sized properly for a production environment *.

    12 January 2016 17:45:16 oracle.ucp.common.UniversalConnectionPoolBase initInactiveConnectionTimeoutTimer

    INFO: connection time-out timer inactive at the request

    12 January 2016 17:45:16 oracle.ucp.common.UniversalConnectionPoolBase initInactiveConnectionTimeoutTimer

    INFO: connection time-out timer inactive at the request

    12 January 2016 17:45:17 oracle.dbtools.common.config.db.DatabasePools validateApexPoolConfigView

    SEVERE: * the pool named: apex_pu reports no APEX workspaces are enabled for RESTful Services,.

    but the pool named: apex_al reports 1 workspaces are enabled.

    This implies what APEX has been installed after the Oracle REST Data Services. Run the following command, and then restart REST Oracle Data Services:

    java-jar ords.war validate - apex of the database

    APEX based RESTful Services, including those used to serve static resources will not work until this was done.

    ***

    I ran validate it as many times it changed anything.  My REST services just returns 404.

    Someone at - it ideas?

    Thank you

    Scott.

    There seems to be a bit of chatter about the 3.0.3 in particular issues. I suggest to go back a step from version and try again.

  • Change the color of the report item (apex 5)

    I have a tin of normal report 5 Apex.

    There is a simple way to change, red, a value of an itame to the report

    If the value is < 0?

    > thank you very much...

    GcG-Italia wrote:

    I have a tin of normal report 5 Apex.

    There is a simple way to change, red, a value of an itame to the report

    If the value is<0>

    This is a one of the most frequently asked questions on this forum. An elegant solution that separates concerns well was first demonstrated by Tyler Muth long ago.

    Add a hidden column in the report query that returns a logical class for the element of conditionally name formatting:

    select
        ...
      , val
      , case when val < 0 then 'debit' else 'credit' end trans_type
      ...
    

    In the display column, set to true to the column attribute Expression HTML :

    #VAL#
    

    Finally, create a style sheet in CSS Inline property page to apply the format required for the values in column of the report:

    td[headers="VAL"] .debit {
      color: #c00;
    }
    
  • How to get the value of the interactive report into apex 5 column

    Hello

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    Hi SYSMAN2007,

    SYSMAN2007 wrote:

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.

    See: How to use the values in the columns of an interactive report (Apex 5)

    Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.

    See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5

    Kind regards

    Kiran

  • Need to report dynamic APEX version 4.2

    Hi all

    Can someone tell me how to get the report assumes that FIN_0112_AP_outstanding_Analysis in the tab of production in APEX Version tab.

    As you can see there are a lot of report to select the report in the screenshot of 1st and 2nd screenshot we have subtab defined in the output so parent tab regardless of the report that I will select in home page, it will go to the special subtab now my requirement, it's that I don't want to see all the subtab report so whatever the report I will select in home page indicating the sub-tab enough to show.

    for example: if I select report = Homepage FIN_0112_AP_outstanding_Analysis then this tab is enough to display in the output tab of the mother and all the other tab need to hide.

    Report_Selection.jpg

    Parent_Child_Tab_Report.jpg

    LnTInfotech wrote:

    It is true that we must control the sub-tab so that what ever the report I will select in home page that report is enough to show in the sub-tab. But I've never used the expression so could you please let me know how I can use the value of element in the Expression 1 = Expression 2 condition.

    as I P1_REPORT_SELECTION parameter in the homepage and the report_name column on the page of IR report. I would like to know how can I use expression so that home page report show only this report subtab.

    Do you understand the concept of the use of conditions to control the rendering and processing of base APEX?

    1. change each tab.

    2. go in the Conditions of the definition of the tab section.

    3. set the Status Type of point value / Expression 1 column = Expression 2.

    4. the value Expression 1 P1_REPORT_SELECTION.

    5. set 2 Expression of the value of P1_REPORT_SELECTION LOV for the tab.

  • Formatting lost bold text after generating report through BI

    Hi Experts,
    I have a problem with printing APEX report to PDF using BI Publisher.
    I created a few Oracle BI Publisher rtf via plugin model in Word format.
    Then, I loaded the xml file and check the preview in PDF format. Everything worked fine in MS Word.

    When I run the report via APEX, bold text is simple - formatting is lost.
    I put the correct font in the editor font BI.

    Where the problem should be?

    Specs.
    Oracle 11g
    BI Publisher 10g
    APEX 4.1

    Thank you
    Concerning
    J :D

    Now, what you need to do is to connect to the Publisher BI and under font mappings, ensure that good fat police is installed for this font. If it isn't then you must download the bold font on the server and set it up.

  • With the help of relaxing through APEX

    Hello

    I am building a mobile application using the [Appery.io] platform that uses [MongoDB] - base database. I need to link this DB to the Oracle database and use APEX to design an interface such that users can query, update the mobile App DB Oracle, as well as Oracle DB can be updated from the mobile application.

    In the APEX, I use the URI with the GET method:

    https://api.appery.io/rest/1/db/collections/Outlet_Details/
    
    

    And I added the header:

    X-Appery-Database-Id
    
    

    When I call the service in the APEX (I insert database Id), APEX presents the collection / the table Outlet_Details in the JSON format. However, not the entire table, in my opinion, the length of type CLOB.

    Now, my main problem is that I have to question this collection / the table called Outlet_Details by a named column: _id. So, when I use the following URI:

    https://api.appery.io/rest/1/db/collections/Outlet_Details/1234
    
    

    It returns the specific record which ha _id = 1234. However, I do not want to code it. Instead, I need to be more like where condition such that I can query based on any column value (e.g. userId rather _id). The CURL command is as follows:

    curl -X GET
    -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9"
    -G --data-urlencode 'where={"userId ": "1234"}'
    https://api.appery.io/rest/1/db/collections/outlet_details/
    
    

    My problem is to know how to insert a command in APEX, specailly (where) a part.

    In this tutorial, oracle database is used. So using = where condition: condition DEP and then bind to a variable is quite simple. However, I need to replicate this tutorial with my MongoDB.

    The other issue, which I think would clarify a lot for me, in the tutorial above, there is a URI prefix that is default APEX shema URI. Even when I insert the different URI scheme, the resultant URI will add the APEX that I inserted. How to build a different service using URI?

    APEX takes where the status is embedded in the URL. Something like:

    https://API.appery.IO/rest/1/DB/collections/Outlet_Details?where=%7B%22Oracle_Flag%22%3A%22Y%22%7d

    The header is same and no input parameter

  • How to backup pdf auto report through forms 6i

    We use and forms-6i, 9i database. and report builder-6i

    Here our requirement call rdf report when you save the form. and rdf report opened pdf. This should be save into the computer of client automatically with the name of the specified file. report opens successfully. but I do not know how to save automaticcaly. can someone help me how o this

    Thank you

    If you use MMR, then you can do what I mentioned. Run the report in "FILE". The file will now be automatically on the client computer. If you want to open it, you can make a call from the HOST to open it.

  • APEX 5.0.1 and APEX_UTIL. CREATE_USER

    Hi all

    I would like to create a page, on which admin users will be able to create new users in my application.

    For this I created a procedure of datasbase with the following content:

    CREATE OR REPLACE PROCEDURE create_user (p_username IN VARCHAR2, p_password IN VARCHAR2,

    p_firstname IN VARCHAR2 DEFAULT NULL, p_lastname IN VARCHAR2 DEFAULT NULL,

    p_email IN VARCHAR2, p_desc IN VARCHAR2 DEFAULT NULL)

    IS

    BEGIN

    v_workspace_id: = apex_util.find_security_group_id (p_workspace = > 'MY_WORKSPACE');

    apex_util.set_security_group_id (p_security_group_id = > v_workspace_id);

    APEX_UTIL. CREATE_USER)

    p_user_name = > p_username,

    p_first_name = > p_firstname,

    p_last_name = > p_lastname,

    p_description = > p_desc,

    p_email_address = > p_email,

    p_web_password = > p_password,.

    p_web_password_format = > 'CLEAR_TEXT '.

    );


    Create_user END;

    I also created a page APEX with an interactive report and a modal page button "creating or editing users. On the modal page, I have a form with fields and a after submit processes with the following code:

    BEGIN

    CREATE_USER)

    p_user_name = >: P1021_USERNAME,.

    p_password = >: P1021_PASSWORD,.

    p_firstname = >: P1021_FIRSTNAME,.

    p_lastname = >: P1021_LASTNAME,.

    p_email = >: P1021_EMAIL,.

    p_desc = >: P1021_DESC

    );

    END;

    If I create the user of the APEX page then I get the error "the API call blocked, editing workspace through this application is prohibited" and ORA-20987.

    If I run the procedure from SQL-Developer, it runs without problem.

    What is the problem in my code?

    Are there in 5 APEX all the parameters required to run the APEX API within the application of the APEX?

    Thank you!

    S Max wrote:

    If I create the user of the APEX page then I get the error "the API call blocked, editing workspace through this application is prohibited" and ORA-20987.

    If I run the procedure from SQL-Developer, it runs without problem.

    What is the problem in my code?

    Are there in 5 APEX all the parameters required to run the APEX API within the application of the APEX?

    Yes, at APEX 5.0, Oracle Application Express API access that modify requests or metadata workspace from an application are controlled by the application using the API Runtime security setting. Edit this option by going to

    Also note that the apex_util.set_security_group_id API is not necessary in the code that is called from a valid session of APEX.

  • APEX - opening World document (and other files) stored in a blob column?

    Hello

    I have an application developed in Oracle Apex 3.2.1 and RDBMS Oracle 9.2.0.8 (SUN SOLARIS SPARC 64-BIT).

    I have a table called BAC_ARQUIVO, with the following structure:

    CREATE TABLE BAC_ARQUIVO
    (NAME VARCHAR2 (4000), / * name of the file stored in a BLOB column * /)
    TOPIC VARCHAR2 (4000), / * a brief presentation of this file stored * /.
    Identification NUMBER, / * an identification of this file - it s a PK of this table column * /.
    BLOB BLOB_CONTENT, / * Blob field to store different types of files - XLS, DOC, PPT, PDF, EXE, ZIP, etc.) ;
    Mime_type VARCHAR2 (4000) / * Identification whose file type is stored in BLOB field * /.
    )


    The field BLOB_CONTENT in this table can store:

    -Executable files;
    -MS-world Documents (DOC);
    -Zip Files (ZIP).
    -Ms-Excel (XLS) files;
    -Ms-Powerpoint files (PPT);
    -Adobe (PDF) documents.

    In fact, in this application, APEX, I developed an interactive report in which the user can download these files to the desktop without problem.

    But now, my user I would like to know if it s possible ask APEX can OPEN some of these files stored on this download of WITHOUT BLOB column.

    My user would like to see a hiperlink (or button) that, if you press on/accessed, can open a new page (or page within the application) with the document. Doesn´t need to edit this file oppened. He wants only to see.

    For example, if the file stored in the blob column is type ms word, so the application opens an MS-WINDOWS application with these files.

    Is this possible?

    In this forum, I saw this it possible s to open a file stored on the directory "/ i /", but I need to open the file stored in the BLOB column. I Don t want to store the file in the operating system of the server.

    Could someone show me how it could be done?

    Best regards

    Sergio Coutinho

    Hi Sergio,

    You might find this link useful:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R31/apex31nf/apex31blob.htm

    See also the Mask of Format download BLOB :

    {message: id = 9716335}

    Here I gave the format mask for APEX 4.0, which will be slightly different for 3.2.1 and proposed changes
    in the format of mask are:
    (1) mask format: DOWNLOAD
    (2) content-disposition: Inline

    This will be achieved with her:
    >
    But now, my user I would like to know if it s possible ask APEX can OPEN some of these files stored on this download of WITHOUT BLOB column.

    My user would like to see a hiperlink (or button) that, if you press on/accessed, can open a new page (or page within the application) with the document. Doesn´t need to edit this file oppened. He wants only to see.
    >

    I hope that helps!
    Kind regards
    Kiran

  • Reports - the values of the checkbox and the conditional column visibility

    Although I use Oracle databases for many years, I must admit that I am rather new to APEX. I build a first prototype project to convince our project managers and managers of the usefulness of the product for future projects (as for interfaces Visual of the database where the focus is on forms and reports, it is often quicker and cheaper to build an APEX application instead of a webapp in Java or c# full blown).

    I have a few problems however.

    I'll start with a quick description. I have the following structures of parent/child:

    Provinces > cities > Intersections > earrings > detections in loop.

    Basically, I want to do a report on detections of loop. Now, as we have thousands of detections someday, I did kind of a mining structure down. First, you choose your province, then the city, then the intersection and finally the loop. Do not use the lists to make the selection. Instead, I did a (classic) report on each side because it allows me to give detailed information for each part. In each report, I made a link on the identifier. For example, when I select a province (by clicking on the link), I pass the identifier of the province of cities report and use it in the query to restrict my report to these cities in the province. I repeat these step for different parts, which, in the end, gives me the selected loop loop detections. The good news is that all this works very well. However, the person who will use this application made a suggestion and asked if it would be possible to select different loops and thus get the detections for several loops (the rest of the application remains the same). However, this means that I can't use the link in the column more. Now, I thought in the sense of a checkbox control. The link to the column is still there, but the user would also have the possibility to select several items in the report. I have managad to add a checkbox control to the report, associated with the loop identifier column. It's not really hard. I can't understand, however, how I can pass the identifiers found in the next report (detections for the selected loops) and use it in the report's underlying query. The problem is, I do not know how to pass the values checked to the next page and how to use these values in the request of the State of this page. I guess it must be possible, but I couldn't figure out how. I tried to play with APEX_APPLICATION. G_Fxx and others. Don't forget I'm a newbie and this seems to be more advanced features.

    I downloaded the images from the 2 on the pages of the report to illustrate:

    http://img96.imageshack.us/img96/1497/apex01.jpg

    http://img140.imageshack.us/img140/9868/apex02.jpg

    A second point that's bothering me is this. In the loop detection report, I show a link column (I chose an icon instead of the value of the column) for each line. I also have a column that displays the number of detections for the given line (and one day). Now, for some lines, there is no detection that has emerged. Therefore, there is no point in the selection of this loop, because the result will be a blank report. However, I still want to show the loop in the loop selection report, as it is always present (it is not as if he suddenly disappeared). Of course, no big problem and most users probably have sufficient intelligence to understand this. However, it would be nice if I could do the icon (link colum) visible only for these loops with detections, or in other words, for these recordings in which number_of_detections (COUNTY of underlying column) is greater than 0. I couldn't find a way to do it either. The conditional display for a column option didn't really offer me a solution here.

    Before I forget, I use APEX 4.0.1 on an Oracle XE database.

    Any advice or suggestions would be welcome! :)

    Thank you.

    Erwin

    Hello

    You mean something as in this example
    https://Apex.Oracle.com/pls/OTN/f?p=40323:55

    You can store the values checked into collection and then use it in another report where clause

    See for example this post for how you can memorize checked lines to the collection
    Re: Need help with APEX_Collection

    In the sample report DEPT query is

    SELECT
      CASE WHEN EXISTS(SELECT 1 FROM emp e WHERE e.deptno = d.deptno) THEN
        APEX_ITEM.CHECKBOX(1,c.c002,'onclick="saveDeptChk(this,'||c.seq_id||')"','true')
      END AS row_selector,
      c.c002 AS checked,
      d.DEPTNO,
      d.DNAME,
      d.LOC
    FROM dept d,
      apex_collections c
    WHERE c.collection_name = 'DEPT_CHK_COLLECTION'
      AND d.deptno = c.c001
    

    And the report on EMP

    SELECT e.EMPNO,
      e.ENAME,
      e.JOB,
      e.MGR,
      e.HIREDATE,
      e.SAL,
      e.COMM,
      e.DEPTNO
    FROM emp e,
      apex_collections c
    WHERE c.collection_name = 'DEPT_CHK_COLLECTION'
      AND c.c002 = 'true'
      AND e.deptno = c.c001
    

    Kind regards
    Jari

  • FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Weekly report of family security in Arabic and secuiry e-mail from Microsoft answer is Arabic... How to change ENG?

    Weekly report of family security in Arabic and secuiry e-mail from Microsoft answer is Arabic... How to change ENG?

    Jim,

    We have updated your language setting. The emails you receive from the safety of the family should now be in English.

    Thank you

    Daniel

  • Windows Search 4.0 and it gets to halfway through before adjourning an error and won't go any further

    I tried to install Windows Search 4.0 and it gets to halfway through before adjourning an error and won't go further.  What can I do?

    What is the exact error message you received?

    Make sure that all the latest updates and service packs are installed.

    If you have any previous version of Windows Desktop Search, remove from Add/Remove programs and try to reinstall.

    http://support.Microsoft.com/kb/940157

  • Since then, when I start the computer, it goes through a few stages starting and then ends with a black screen with a cursor flashing at the top.

    I left by mistake a USB in the port when I restarted my computer (Windows 7).

    Since then, when I start the computer, it goes through a few stages starting and then ends with a black screen with a cursor flashing at the top.

    If I press ESC during startup and access the start menu, something marked WED... is highlighted and I press on enter and it starts normally.

    How can I get Windows 7 to do a normal boot without having to access the Boot Menu each time?

    Thank you.

    Tried that, but it did not work.  Finally got and IT guy come and it took him 3 1/2 hours to repair.

    Need a bootable floppy which has then repairs itself.

    Lesson learned.  Have an available for each computer startup disk.

Maybe you are looking for

  • Change the metadata fields in the details pane

    Is it possible to change the metadata that appears in the details pane? For example, I would like to know "Time Zone" without having anyone access to each photo. Also, is it is shortened to "set Date and time? Thank you

  • Questions of security and App Store

    Hi, I forgot my sucurity questions and when I go to reset, I think the emergency email address is wrong address, because I can't find the in my Inbox. How can I change the email to that address security issues are sent? Please advise on what I should

  • Data available via modbus

    This maybe isn't the best advice for this question, but I can't find where to ask. For sure some experts Modbus communication engineers using LabVIEW for development and so I hope I can find the answer. At the beginning, Modbus was designed to manage

  • Compaq Presario CQ57-339WM: Compaq Presario CQ57-339WM randomly fails to start

    I had a very strange problem with my Compaq Presario CQ57-339WM laptop. My laptop suddenly, carefully and randomly last night, didn't start the operating system. It's all the way to the start screen, but who could not pass. Safe mode wouldn't work, n

  • change windows

    I've recently upgraded to vista windows to windows7.but now I want to go back to windows vista