On the report templates in the Apex and report queries

Hi all.

I'm reading about models and report queries and asks me to use cases of these options. I have two questions:

-Can be used to print reports of special loyalty, such as printing a document (invoice, invoice, check)?

-Make the report accept queries settings? for example, you can filter specific data...?

Any other uses?

Best regards, Luis...!

Your welcome. Review the marking of the answers correct or useful in order to help other people traveling the same road. :)

Tags: Database

Similar Questions

  • How to log on automatically to the apex and run a specific page / application

    Hi all.

    I would like to know if there is a way to connect automatically to the apex and run a specific page / application. I mean, invoke browser and necessary information for you connect (non-public user) and run a specific application (secure ina in if possible).

    Thanks in advance...!

    Hello

    Well, as a very crude test, you can set your authentication scheme being request Express authentication define specific users to Apex. Then, create one before the login process of header on the page of connection (101) to automatically open a session that contains:

    apex_authentication.login(
        p_username => :P101_USERNAME,
        p_password => :P101_PASSWORD );
    :P101_PASSWORD := NULL;
    

    conditional on P101_PASSWORD is not null.

    Then you can login using your username and password in the URL, for example

    f? p = YOURAPP:LOGIN:P101_USERNAME, P101_PASSWORD:username, password

    Rod West

  • Application SSO between the APEX and application non-APEX

    Hello

    In most of the forums I found information on how to implement SSO between 2 APEX applications. Anyone know if it is possible to implement SSO between one APEX application and a non-APEX?

    If it is possible, a usefulness of links?

    I understand APEX handles session management and also creates the session in a DB table. This session can be created in another application?

    I'm mainly looking for on the SSO application between an application built on AngularJS/NodeJS with APEX.

    Thank you

    Hi 1467086,

    1467086 wrote:

    Please change your login username of "1467086" to something meaningful. Reference: Video tutorial how to change username available

    In most of the forums I found information on how to implement SSO between 2 APEX applications. Anyone know if it is possible to implement SSO between one APEX application and a non-APEX?

    If it is possible, a usefulness of links?

    Without providing you details, members of the forum can not say. See: How to get answers from the forum

    Please include information on enforcement non-APEX thus.

    I understand APEX handles session management and also creates the session in a DB table. This session can be created in another application?

    Can you "another application" run PL/SQL.

    If yes then refer: Martin Giffy D'Souza on Oracle APEX: how to create a Session of the APEX in PL/SQL

    I'm mainly looking for on the SSO application between an application built on AngularJS/NodeJS with APEX.

    AngularJS is intended for the side (browser) interaction rich client with the user. But, NodeJS can provide you with the functionality you need.

    danmcghan-Oracle has previously worked with AngularJS and has now tapped into NodeJS with his excellent blog on https://jsao.io/, it can guide you on how to go about using NodeJS.

    I hope this helps!

    Kind regards

    Kiran

  • OHS & APEX - office/Mobile NO alternative standard connection to consume the apex and on request

    Hi all

    I have quite the problem and I do not see a solution and I hope someone might be able to provide advice how to on this subject.

    Here is my scenario:

    ===============

    I have 2 APEX applicationa, both with its own set of processes on demand (about 300), authentication schemes, page elements. Each application is only 2 pages (login, home).

    I've got 2 software applications, running on the Office of the AIR and the other a mobile application.

    Problem

    =====

    Connection for APEX WITHOUT ever going to the login page of the application in a web browser. In short, think of it as if I had BROWSER WEB No..

    I need to identify, authenticate and retrieve session information so I can call and then process on request through some Ajax calls in my applications, using post/get and pass the base APP_ID, PAGE_ID, SESSION_ID.

    Security must stay tight, which means that all calls are made via https/SSL.

    Currently, I can come out with a solution dirty air, which is to pass the user name, password the URL to the login page.

    Connection direct yo the database is not an option.

    Is where I'm stuck, how can I do this correctly.

    I recently worked around a violation of the page, passing the name of user and password in the URL, but the mobile app gets Bad request.

    I even started looking at REST, to provide the login? But how to replace this APEX for session state, session valid etc..

    But what would be the entire installation, that's what troubles me. ? Is there an api I do not know of. Whaty I am missing. I've worked with Oracle 8 years and cannot imagine not being able to connect to APEX without going to a web page.

    Maybe there is a way to expose some PL/SQL for the internet in a safe way? According toher, rewriting authentication custom apex coding style (htp.init, get_cookie, set cookie, apex_application_custom_auth, etc.)?

    Platform

    =======

    Oracle 11.2.0.4

    Apex 4.2.4

    OHS 11 g

    --> Possible APEX reverse listener with proxy?

    Thank you

    Jan S.

    Hi Jan,

    No worries :-) I'm used to this lack of hits, especially since we also have a Christina in the team of the APEX.

    Just issue the cookie 1:1 with htp.p line, as read you. After owa_util.mime_header is a good place to do that, Yes. Your code may look like the example below, but of course it must issue the cookie that he just read, not sample one of your previous post.

    owa_util.mime_header('text/html', FALSE );
    htp.p('Set-Cookie: ORA_WWV_APP_70070037001=ORA_WWV-Ic4nT76UhbDoIP5tGBweGWxW; HttpOnly');
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    

    Kind regards

    Christian

  • Listener of the APEX and several Instances of APEX

    I APEX 4.XX and Apex listener 2.0.5 and I'm really interested in the configuration of multiple instances of the APEX to browse the same listener.  I found information on how you create your multiple connections, but I'm really confused by the portions on how you configure your URL cards.  In my case, I'm insterested in something in the sense of https://apex.example.com/prod/ https://apex.example.com/dev/ https://apex.example.com/pprd/ where each of them is APEX running on a different database.  I am amendable to prod a straight downhill https://apex.example.com/ until I could install some sort of application of default homepage instead of directly providing the login page for this instance.  Can anyone offer guidance in this type of installation?  I am ok if you need is to have the URL in the sense of https://apex.example.com/apex/ https://apex.example.com/apex/dev/ https://apex.example.com/apex/pprod/ if they should be.  Note my deployment is on Weblogic 12 c and I use SQL Developer to admin the listener.

    The headphones are so light, I have one foreach (in virtual boxes)

    I prefer to keep listeners on separate servers, because it is easier for me to check that I'm not about to run 'truncate table... ". "on the production.

    (my $0,02 worth)

    Dev, I have multiple DB connections.

    Grade a (http://Host/apex) points to my box of 11 g of real development.

    The secondary one (http://Host/apex/a12) point to my box 'playground' 12 c.

    For the 12 c, URL mappings are: (SQL Developer 3.2 and 4.0)

    The rule of Type = URL path

    Routing rule = http://Host/apex/a12

    REST Schema. = (empty)

    After that I got it to work, I have not played with any other options/ideas.

    MK

  • Pass variable header OAM at the Apex and read it in application of the Apex

    We have integrated access Manager Oracle 11 GR 1 material with Oracle Apex 4.1. OAM-Apex integration works very well. Now we want a variable header additional to pass to the application of the Apex of the OAM. This new header variable will be the user's sAMAccountName in Active Directory. OAM is integrated with AD and AD successfully users access the applications of the Apex.

    The header three variables that are set up in OAM right now are:
    Name of the variable header value
    1 OAM_REMOTE_USER $user.userid
    2 OAM_REMOTE_USER_EMAIL $user.attr.mail
    3 OAM_REMOTE_USER_GROUPS $user.groups

    We need a variable to page header as mentioned below:
    The header variable name: OAM_SAMACCOUNTNAME
    Value: $user.attr.samaccountname

    The new header variable has been added in the file dads.conf of the OHS server as shown below:
    = dads.conf =.
    ...
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER_GROUPS
    PlsqlCGIEnvironmentList HTTP_OAM_REMOTE_USER_EMAIL
    PlsqlCGIEnvironmentList HTTP_OAM_SAMACCOUNTNAME
    ...
    ===============================

    But we are not able to read the value of this attribute in the application of the Apex.

    The application of the Apex, there is a text box that displays the value of this header variable. This text box is attached to the following stored procedure call to retrieve the header variable:
    ===================
    Start
    : P1_HEADER_VALUE: = owa_util.get_cgi_env ("HTTP_OAM_SAMACCOUNTNAME");
    end;
    ===================

    The text box displays the correct value only if HTTP_OAM_REMOTE_USER is passed to the get_cgi_env method, but shows nothing when HTTP_OAM_SAMACCOUNTNAME is passed to the same method.

    Please let me know if Miss me some configurations to pass the variable to anna64 HTTP_OAM_SAMACCOUNTNAME OAM to the Summit.

    Thanks for your help.

    Hi 900202,

    You can run

    begin
        sys.owa_util.print_cgi_env;
    end;
    

    in the SQL commands to see all headers. Maybe OAM_SAMACCOUNTNAME went without an HTTP_ prefix or its value is null, because there is a configuration problem in OAM.

    Kind regards
    Christian

  • Problem with LDAP in the APEX and not in sql query * more

    Hello everyone.

    Hereby, I refer to an existing thread: Query LDAP APEX

    I have a problem using LDAP in the APEX (DB version: 11.2.0.2.0;) APEX version: 4.0)

    I get "Authentication failed" by their SUMMIT. However, when I run it in SQL * more (SQL Developer) (I created it as seen in the referenced forum thread) it works! Can I use my own function, but that looks like reinventing the wheel.
        l_ldap_host := 'oursite.be';
        l_ldap_port := '389';
        l_ldap_domn := 'oursite';
        l_ldap_user := i_username;
        l_ldap_pass := i_pw;
        l_ldap_base := 'ou=oursite,dc=oursite,dc=be';
    
    
        dbms_ldap.use_exception := true;
        
        l_session  := dbms_ldap.init(l_ldap_host,l_ldap_port);
        l_retval   := dbms_ldap.simple_bind_s(l_session, l_ldap_domn||'\'||l_ldap_user, l_ldap_pass);    
        l_attrs(1) := 'name';
        l_attrs(2) := 'title';
        l_retval   := dbms_ldap.search_s(
                        l_session, 
                        l_ldap_base, 
                        dbms_ldap.scope_subtree, 
                        '(sAMAccountName='||l_ldap_user||')',
                        l_attrs,
                        0,
                        l_message
                      );
    
        l_retval := dbms_ldap.count_entries(l_session, l_message);
    We must search the sAMAccountName because that contains our login credentials (dennis.surname). The common name is just our full name (Dennis Surname)


    At the SUMMIT, I have these settings:

    * LDAP host: oursite.be
    * Port: 389
    Use SSL: No SSL
    Use exact DN: No.
    * String DN: ou = oursite, dc = oursite, dc = be
    * Search filter: sAMAccountName = % LDAP_USER %


    When I try to test it I get "Authentication failed" but I don't know why. It works very well in sql * more (in the the same pattern of course!) so I have really no idea what I'm doing wrong. In addition, the message comes instantly and sql * more it takes about a second to authenticate.

    I tried so many things! remove the 'or '. Connect with my name, change 'cn = % LDAP_USER %' filter, connect with dennis.surname and Dennis Surname, using exact DN,... and all the possible combinations of them... Nothing works.

    I can go further by using my own function, but I really want to use the settings of the APEX, because it's so much easier.

    Thanks in advance for help out me!
    Dennis

    Hi Dennis,

    Try this

    The exact use DN Yes value
    Change your DN string to

    %LDAP_USER%@domain
    

    or

    domain\%LDAP_USER%
    

    The authentication uses a simple_bind_s. You must use the same syntax in these text boxes. You actually do a single with bond

    dbms_ldap.simple_bind_s(l_session, 'sAMAccountName=' || l_ldap_user, l_ldap_pass);
    

    It does not work. It's the syntax to use in the search for search_s filter.

    Please keep in mind that the apex_040100 (for apex 4.1) user must connect the rights on the domain server.

  • Windows Server 2003 external to the application of the Apex and listener Apex?

    Hi all

    I have oracle RAC INSTALLED on solaris with three knots. I have several users with the CCR. I want to install APEX so that each user can access APEX if they need. Based on the Google search I did is not clear for me. My goal is to stay away as much as possible of the production systems. Could you please tell me which method can be good to implement this? I think following methods but I don't know if they are correct.
    1 - Position the external Apex of Windows Server 2003
    2 - Place the Apex listener in Windows Server 2003
    3 - allow the user connect to the Windows Server to access Apex

    Thank you

    Hello

    APEX needs to be installed in a database. If you do not want to expose your RAC and use a separate instance of the database, users will not be able to access the data available in the CARS (unless you create database links, but you usually don't want that).
    You can install APEX Listener on your Windows 2003 to access the APEX facility in your RAC database. You must choose a J2EE container to host your listener of the APEX. See APEX listener installation guide for supported containers or search the forum or google to find out what other containers may be suitable for you (for example Apache Tomcat is not officially taken charge but able to accommodate the listener).
    You need to configure the firewall and/or rules of routing for all users may access the port used by the container.

    -Udo

  • Listener of the apex and Apex.3.2.1

    Apex earphone works with Apex 3.2.1? Maybe I missed it, I can't find any info in the document.

    Quick question, short answer: it does.

    Documentation for the listener of the APEX does not refer to a special version of APEX. The fact that the only APEX documents name the listener APEX APEX 4.0 from is due to the listener of the APEX is not not available prior to this release.
    We have it running with the APEX of 3.1 from instances, but I guess you could use it even for older versions.

    -Udo

  • Header of the apex and the background of custom colors

    Hi all

    Thanks for any help.

    I tried for days to change the color of the header of reactive blue without success. I went in firefox and was not able to find the properties of the header. I wanted to just change to a grey color, can you please point me in the right direction.

    In another application I was working on I used centered blue and wanted to change the background to green however when I save my code as below in the css file and reference it in the model it changes only half of the page to the color I want, and the other half stays the same... I'm not good with css, so I'm lost.

    <!DOCTYPE html>
    <html lang="&BROWSER_LANGUAGE." xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com">
    <head>
      <title>#TITLE#</title>
      #APEX_CSS#
    #TEMPLATE_CSS#
    #THEME_CSS#
    #PAGE_CSS#
    #APEX_JAVASCRIPT#
    #TEMPLATE_JAVASCRIPT#
    #APPLICATION_JAVASCRIPT#
    #PAGE_JAVASCRIPT#
    #HEAD#
      <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_6/css/theme_4_0.css" type="text/css" />
    <link rel="stylesheet" href="#WORKSPACE_IMAGES#blackbg.css" type="text/css">
      <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_6/css/theme_4_0_ie.css" type="text/css" /><![endif]-->
      <!--[if IE 6]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_6/css/theme_4_0_ie6.css" type="text/css" /><![endif]-->
      <!--[if IE 7]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_6/css/theme_4_0_ie7.css" type="text/css" /><![endif]-->
    </head>
    <body #ONLOAD#>
    #FORM_OPEN#
    

    code in the CSS file

    div#uBodyContainer {
    background-color:black;
    }
    
    
    body {
        background-color: black;
        color: #CCCCCC;
        font-family: Arial,Helvetica,Geneva,sans-serif;
        font-size: 12px;
        margin: 0 0 24px;
        max-width: 1920px;
        min-width: 980px;
        padding: 0;
    }
    

    I have an example on apexoracle.com

    https://Apex.Oracle.com/pls/Apex/f?p=83557:LOGIN_DESKTOP:4769551920681

    Username and password is Test

    workspace is Pinedo

    Thanks again for any help.

    Hello

    I developed 86027 application in your workspace. Please see if it's the thing you want to achieve

    Thank you

    Sunil Bhatia

  • Virgins of the nodes and describe queries

    I can't do a post containing my problem. I get a message that "due to the size, this content is blocked".

    When I removed the examples, it worked. I don't know what triggered your spam filter example. I hope that the text below is the logic even without examples.

    -Try again here: deletion of all examples. .

    On other implementations of the SPARQL Protocol, (i.e. Jenas TDB), a DESCRIBE query returns a container model.

    1. the subject resource

    2. all the resources related to the subject to any property.

    3. If the resource found in (2) is an empty node, repeat (1) with this node empty as a subject.

    Except if: to describe this blank node has been done before.

    This ensures that the empty nodes are useful when using describe. If this is not the case, the resulting model is useless. For example, we get the following response (omitted prefixes)

    < removed >

    As you can see, the restrictions on complex OWL, who uses the empty nodes are omitted.

    The same query using SEM GAME gives me, among other things, this line:

    < removed >

    I know that we can use this to create a PL/SQL method that produces iteratively a series of triples by following the bnodes, but I trust Oracle on myself to write this function effectively.

    Is this something you're aware and fixing, or will the task fall to me?

    BR,

    Morten

    Hi Morten,

    This problem has been fixed. Please check that the SR. Jorge has already updated it.

    Thank you

    Zhe

  • The envelope and the interactive report column width

    Apex 3.2

    I have a column in an IR data type is varchar2 (4000).

    I want to restrict this report to a width of 200 column and if the text is longer, it should go on the next line.

    I've tried several things (in the HTML page header

    For example

    < style type = "text/css" >

    #apexir_LONGDESCR {width: 200px ;}}

    < / style >

    < style type = "text/css" >

    Th #LONGDESCR {}

    Width: 200px;

    }

    TD [headers = "LONGDESCR"] {}

    Width: 200px;

    dressing: break-Word;

    }

    < / style >

    < style type = "text/css" >

    TD [headers = "LONGDESCR"] {}

    Width: 200px;

    dressing: break-Word;

    }

    < / style >

    Nothing seems to work.

    Any advice appreciated

    Gus

    Theme 15 trigger rendering quirks mode in IE8 which does not support the td[headers="LONGDESCR"] attribute selectors, where your problems above.

    Quick and dirty approach: wrap the column LONGDESCR in a div in the query and the whole of the column display as column report Standard attribute:

    '

    ' || longdescr || '
    ' longdescr

    It will be however cause problems elsewhere with HTML code that appears in IR filter, export etc.

    More refined approach: apply the style using JavaScript instead of CSS. Using jQuery in this app?

    Best approach: pass the time, all this takes in the upgrade to the latest version of the APEX and a decent browser.

  • Oracle form functions and procedures in the APEX, how?

    I'm working to recreate in the APEX, already existing read only forms in Oracle Forms. Report features interactive APEX among other things, in fact worth as well as to target a different audience than utilizies versions of Oracle Form. Versions of Oracle Forms use a lot of pre and post query triggers, PLSQL functions.

    In Oracle Forms that places, these functions can be found in the "Units of program" section of the form. A feature typical of this kind, based on a particular Mission ID route, collecting names of regular passengers, is shaped with a comma and a space after each of them, in a single string that is returned and displayed the list of passengers of a line.

    I have all of this written code so I can move most of the main request of the Oracle form in an interactive report. These functions and triggers called in the form of the "Units of program" section of the Oracle form rather than stored in the database schema in a package, where they would go inside the APEX? Can I create a 'shortcut' in the APEX and call it from the interactive report "Source Région"? I can create the PLSQL function at the level of the region of the interactive report or page level? Or, my best bet creates a package that is stored in the database, all these functions and/or proecedures I might need the original form of Oracle?

    Some advice would be greatly appreciated.

    RLBickham wrote:
    I don't think I've been pretty clear in the description of the specific thing I want to do, simply, it does not reach the level of forms of conversion of the APEX. It is basically a problem of PLSQL function.

    I have an interactive report which is currently 90 percent of what I want however, each line, which represents a Mission may have several feet. Each arm has two places or ICAO codes attached to it. Based on the number of Mission, I want to loop through the array of leg, collect all the codes of ICAO for this Mission, put them together in 1 variable separated by a coma and add this variable to display the columns in this interactive report as the last column.

    In Oracle Forms, I have a function registered in the database, which is called in the main query. Maybe I ask a question that does not need to be asked, but anyway my question is can I put this function currently in the database somewhere within the interactive report and somehow reference it via Http, or should I just stick with set of functions and procedures in the packages stored in the database and called the conventional way?

    You could switch the function to the database and call it from the report query, but it sounds as if it were superfluous. In the report query using any form of Re: 4. How can I convert rows to columns? is appropriate for your version of the (unspecified) database.

    -----

    When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)

  • Region/section type (s) (particularly as to distinguish if a 'report' is a standard report, an interactive report, or indeed a 'update report' (i.e. a tabular presentation))

    With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.

  • Communication between TNS_Listener and the listener of the Apex

    Hi all
    I how communication between TNS Listener, receiver of the Apex and Apex? For some reason, I got the following error of Apex listener:
    Caused by: oracle.dbtools.rt.web.WebException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource
    .
    .
    .
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    I truncated messages Java object.

    This has happened when I tried to connect to the Apex. So I can fix it by going to:
    http://localhost:8080/apex/listenerConfigure
    then everything worked fine.

    My listener.ora file:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = /usr/local/oracle
    
    ADR_BASE_ORACLE_LISTENER = /usr/local/oracle
    My tnsnames.ora file
    INARA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = inara.snowdrop.com)
       )
      )
    When inara is the name of the instance and the firefly is the host name.

    Is that the order of start if first the TNS Listener or listener Apex matter first?

    Best regards
    Val

    Published by: Valerie good-natured August 1, 2011 05:47

    Hi Val,

    My tnsnames.ora is configured for an existing server and there is no client configurations like sqlplus, sql or earpiece of the apex developer. However until now the server can connect to customers without problem (I just discover that unreproducible error on 'impossible to find the SID' sometimes occurs at the beginning of the Summit, the kick-off and can be solved by waiting for a while to connect to reconnect), so again I must modify the .ora?

    No, if your database listener is configured properly (i.e., he listens to the SID that you try to connect to the network interface/hostname/ip address /... she must use), there is no need to make any other configuration, especially not on another machine.

    -Udo

  • Email from the apex

    Hello everyone,

    I've never used mail of the Apex and I was wondering how I can achieve this. I have a form with interactive report that has a field with an email address. What I would do is, when the user clicks on the address field of e-mail on the report page, their own email will pop up with e-mail from shippers like e-mail selected according to the report. For example: when I click on [email protected] on the report page interactive, my email from my computer opens with the TO: [email protected].

    Is this possible? I have no idea where I need start. I know there are a lot of mail Apex that we can use, but I don't know how I can use it. Any advice will be appreciated.

    Thank you

    Hello

    Look at:

    Sending mail with attachment

    Ziut

Maybe you are looking for