Apex 2.2.1 vulnerabilities

I had a quick question when researching apex. What are the current known vulnerabilities with 2.2.1? Are there any present SQL injection vulnerabilities, cross site scripting vulnerabilities?
Also since 3.0 is out now, what are the main differences and fixes they have provided?
Thanks, I have been having a real hard time trying to research this information

Mike, Joel, Scott, Marc,
No Earl I don't believe there is anything new
regarding SQL Injection. I think this is what cause
confusion:
http://download-uk.oracle.com/docs/cd/B31035_01/doc/re
lnotes.20/b16374/toc.htm#CCHJAGDJ
But the required packages was never released.Do any of you know the status of the packages referenced here? Are these available anywhere? And, if they are, is this something that is supported via the ApEx UI or are these procedures able to be run from the SQL prompt?
I did notice that on version 2.0.0.00.49, which is my current production installation, there is a place in the SQL workshop utilities menus that gives the impression that you could test for SQL injection but when you navigate to the menu link it says:
SQL Injection analysis is not supported with your current database version. It is only available for Oracle release 10.2 or higher."When I run:
select * from v$version I get:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionSo, obviously there's a little mismatch going on here.
Oh, and in my 3.0.0.00.20 installation, the SQL injection no longer appears in any of the SQL workshop menus, not that I can see at least.
Has this functionality been abandoned, or just archived for the time being, and slated for appearance again in a new and improved release?
Earl

Similar Messages

  • SQL Injection threat with APEX developed applications

    We are using a tool, HP WebInspect, to scan some of our APEX developed applications for web application security testing and assessment. We are getting some critical and high vulnerabilities identified (see below) and would like to know if someone else has encoutered these and to determine a solution, whether it be a setting/settings within APEX or is it more related to the application and the way it was developed.
    Critical:
    Possible SQL Injection
    File Names: • https://xxx.edu:443/pls/apex/f?p=4550:1:36080644498857::NO:4::&success_msg=If+7
    77-777-1911form%40value777.com+exists+in+our+records'+OR%2cwe+will+send+the+workspace+name
    s+associated+with+this+email+address.+If+you+are+having+problems+receiving+the+workspace+name
    s%2cplease+contact+your+administrator.%2fC34A0EF5494AB92C95AA4D0F7BF52332%2f
    • https://busaff-test.utdallas.edu:443/pls/apex/f?p=4550:1:36080644498857::NO:4::&success_msg=If+7
    77-777-1911form%40value777.com+exists+in+our+records%2cwe%2bwill%2bsend%2bthe%2bworkspace
    %2bnames%2bassociated%2bwith%2bthis%2bemail%2baddress.%2bIf%2byou%2bare%2bhaving%2bprob
    lems%2breceiving%2bthe%2bworkspace%2bnames'%2bOR%2cplease+contact+your+administrator.%2fC3
    4A0EF5494AB92C95AA4D0F7BF52332%2f
    High:
    Possible Username or Password Disclosure
    File Names: • https://xxx.edu:443/pls/apex/f?p=104:101:1328157658320206:&notification_msg=Invali
    d%20Login%20Credentials/156F2A38AC41E25732821ABED8AA98B6/
    • https://xxx.edu:443/pls/apex/f?p=104:101:2360963243212364&notification_msg=Invali
    d%20Login%20Credentials/156F2A38AC41E25732821ABED8AA98B6/

    You can help us by telling us your first name, putting it into your profile, and by selecting a friendlier handle.
    The details you showed indicate no SQL injection possibilites whatsoever. The "Critical" examples also are unrelated to Application Express applications that you may have developed (application 4550 is the login application for the product itself and should rarely be used by end users in production environments).
    Scott

  • Double Quotes In LOV Return Value Being Replaced With &qu ot; By APEX 4

    My company recently upgraded our development and test boxes to APEX 4.0.2, which we have been wanting for a while now. We discovered that since the upgrade some of our checkboxes and radio groups no longer work as expected. What I mean by this is that the return values being checked for were not correct, and on several occasions we received PL/SQL errors related to numeric to character conversion issues.
    After debugging some it turns out that we have the following LOV query for one of our Checkboxes:
    select
    statement d,
    stmt_id || '" title="&P20_FORM_STMT. ' || statement || '.' r
    from
    stmts
    The return value for the LOV is setup so that it would return a 508 compliant checkbox. We were told we needed a title for each value of a checkbox or radio group to be 508 compliant. These titles must also be relevant to the selection being made, hence the substitution string being used in the return value.
    What I discovered in all of this is that APEX 3.2 did not convert the double quotes in our return value to &qu ot;, but APEX 4.0.2 does. This causes the value of any given checkbox or radio group to look like the following:
    value="1&qu ot; title=&qu ot;This is the statement that I have made."
    And what we are looking for, and what APEX used to do is this:
    value="1" title="This is the statement that I have made."
    Does anyone know a way to prevent APEX from converting the double quotes to &qu ot;, or is there a way to insert an element attribute for each checkbox or radio group value that contains a substitution string?
    Thanks in advance!
    Pastey

    ryansun wrote:
    4.2.1
    Hi,
    I have a classic report, which has a count column that is hyperlinked. using the standard apex column hyperlink option. In that we have the option of passing values. I noticed that when I am passing a value which has "/" in it, it replaces the / with & #x2F;
    I have created a application item which I am populating with the report column.
    Because of which I cannot use that value in the report query.
    Any suggestions?Yes. Don't pass string values in URLs. Especially where it is possible for these strings to contain URI reserved or APEX sensitive characters. This might work for a while but your application can be broken months from now by users including a "&" or ":" in data that gets passed as a URL parameter. Whilst it is possible to escape strings to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Exposing data in the URL may also introduce security vulnerabilities. Also note that the maximum length of a URL in Microsoft Internet Explorer is about 2KB, which can easily be exceeded by throwing a few string values at it.
    Only use discrete alphanumeric key values as URL parameters. In target pages/regions, use these key values to retrieve the required data using item source attributes and processes.

  • Apex application registered with sso as partner application

    We have 1 apex app registered with sso and working properly.
    I just registered a new apex application with sso. when i authenticate through sso, it directs me to the originally registered application.
    I went in through the portal administrator app and verified my settings all pointed to the new application. I verified that my dad is set up correctly.
    Any ideas?
    APEX 2.0

    i did register and obtain the keys through portal admin.
    to ensure i used the proper keys (i guess there is a possibility i used the keys from db1 registration) i re-ran regapp with the right keys but recieved the following output:
    SQL> @regapp
    Partner Application Configuration
    Enter value for listener_token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
    Enter value for site_id: EFBE3E14
    Enter value for site_token: MSMXURH1EFBE3E14
    Enter value for login_url: https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admin.ls_login
    Enter value for encryption_key: 2EBDD126A3A40606
    Enter value for ip_check: N
    ERROR: Error in registration. Please try again
    User-Defined Exception
    Registration successful.
    Listener token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
    Site id : EFBE3E14
    Site token : MSMXURH1EFBE3E14
    Encryption key: 2EBDD126A3A40606
    Login URL :
    https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
    n.ls_login
    Logout URL :
    https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
    n.ls_logout
    IP check : N
    PL/SQL procedure successfully completed.
    Commit complete.
    No errors.
    SQL>
    ...in spite of the error, i aske the app developer to try and use sso for db2. he now recieves:
    User-Defined Exception
    Error Error in wwv_flow_custom_auth_sso.process_success:l_sso_user_name:l_sess_id:: Please contact administrator.
    OK
    any ideas?

  • APEX-The manullay created column is not getting updated in the database

    Dear all
    I have a form on page, which is created along with a report using Form on a Table with Report option. From the form I have deleted one field and recreated manullay as set the property as database column. When I am calling from the report page (using defualt edit option) the value is showing there, but if I am 'Apply Changes' , the column value in database is get updated with null.
    Please help
    DJ.

    This is the SQL and PL/SQL forum.
    Please re-post this on the APEX forum.
    Oracle Application Express (APEX)

  • APEX LISTENER Install troubleshooting

    Hi, I need help.. :-)
    Default Database connection not configured properly
    What I have done:
         ALTER USER APEX_LISTENER ACCOUNT UNLOCK;
         ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
         ALTER USER APEX_REST_PUBLIC_USER ACCOUNT UNLOCK;
         connect APEX_LISTENER/mypasswd1
         connect APEX_PUBLIC_USER/mypasswd2
         connect APEX_REST_PUBLIC_USER/mypasswd1
    Check default.xml
    password: replaced encrypted one with clear text one for APEX_PUBLIC_USER to ensure it is correct
    even tried APEX_LISTENER password just incase
    Is there a simple JDBC test to see if it connects? it is APEX_PUBLIC_USER who is connecting isn't it?
    ======================================================================
    java -jar apex.war
    Feb 22, 2013 12:44:40 PM oracle.dbtools.standalone.Standalone execute
    INFO: NOTE:
    Standalone mode is designed for use in development and test environments. It is not supported for use in production environments.
    Feb 22, 2013 12:44:40 PM oracle.dbtools.standalone.Standalone execute
    INFO: Starting standalone Web Container in: /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex
    Feb 22, 2013 12:44:41 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Will deploy application path = /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex/apex/WEB-INF/web.xml
    Feb 22, 2013 12:44:41 PM oracle.dbtools.standalone.Deployer deploy
    INFO: Deployed application path = /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex/apex/WEB-INF/web.xml
    Feb 22, 2013 12:44:41 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /data/oracle/orawd/product/11.2.0/dbhome_1/apex_listener/apex
    Default Database connection not configured properly
    Feb 22, 2013 12:44:42 PM oracle.dbtools.rt.web.SCListener contextInitialized
    INFO: Oracle Application Express Listener initialized
    Application Express Listener version : 2.0.0.354.17.06
    Application Express Listener server info: Grizzly/1.9.49
    Feb 22, 2013 12:44:42 PM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 2/22/13 12:44 PM
    Feb 22, 2013 12:44:42 PM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:8888/apex started.

    That could be a problem.
    I was answering the question:
    BillC wrote:
    Is there a simple JDBC test to see if it connects? it is APEX_PUBLIC_USER who is connecting isn't it?Yes - APEX_PUBLIC_USER is the connecting user.
    You can use SQLPLUS to make sure you have the correct password.
    After that, it is the SERVER, PORT, SID/SERVICE in the APEX listener you need to confirm.
    You can TNSPING to confirm you have the correct selections for those.
    You can always re-run the java -jar apex.war setup command to all of the basic settings.
    The reason I mention that is because if you modify the settings manually - we need to ask "which file?" because there is the default and the database specific one too.
    Try making a request to the service in standalone mode and you should get a terminal output (the window stays open) with a more detailed error. I would guess there will be an ORA-12514, TNS listener does not currently know of service requested in descriptor or something similar that will give you the "debug" information you are looking for.
    Regards,
    --Tim St.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem with logging in to apex application builder listener

    I have problem with my settings and am posting this in hope that someone else out there had similar problem and solved it!
    I am trying to use reverseproxy to access to our db through apex listener.
    It's been all set-up and I can login to the application it self either through proxy or no proxy using the listener.
    But when I try to login to apex application builder I cannot do it through proxy(with no proxy, it works).
    It just refreshes the login page when I click login....
    I tried to upgrade the listener to the latest v1.1(using 1.0.2) but it causes my tomcat to crash...
    So solution i am looking for is how to make logging in work through proxy..
    In the firebug it is showing that below and few other request status as 302 moved temporariry
    http://myserver:8080/testsin/apex/wwv_flow.accept
    Where as with no proxy it is saying Found.....
    Any thoughts??
    Thanks
    Sin K

    Hello Sin K,
    so proxy and Tomcat are located on different machines as well? Is the proxy able to commuicate with the Tomcat on the configured internal ports and is the proxy able to lookup the hostname you configured for the Tomcat?
    For the connector, the proxyName and proxyPort should be the parameters the client uses to call APEX. So if your clients should call via http://proxyserver:8080/testsin/apex the settings would be
    proxyName=proxyserver
    proxyPort=8080Reason for this is that applications (e.g. the APEX Listener) generate there URL references with these parameters.
    But does your proxy actually serve on port 8080? And is that port accessible by clients? Do clients accept cookies from that server?
    In my case, there is only one 302 which redirects to http://host:port/apex/f?p=4500:1000:sessionid which is correct.
    If you look into your first post request in firebug, what's in the request header?
    -Udo

  • Need advise on SQL Report  base for APEX or jasper

    Hello everyone,
    I need some advise on how to approach this below report requirement. It has been bugging me for nearly 2 weeks now, and my time is running out.
    Here is a simplified version of the database
    Four tables: Defendant, Engagement, Service, Event.
    A defendant can have more than 1 engagement, but they have only one open engagement at a time.
    For each engagement, they will have services and events.
    These events can be just general events or events that relates to the service.
    Here is the script for the tables and sample data
    CREATE TABLE "DEFENDANT"
       ("DEF_ID" NUMBER,
         "FIRST_NAME" VARCHAR2(50 BYTE),
         "LAST_NAME" VARCHAR2(50 BYTE),
         "ACTIVE" NUMBER DEFAULT 1
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (1,'Joe','Bloggs',1);
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (2,'John','Doe',1);
    CREATE TABLE "ENGAGEMENT"
       ("ENG_ID" NUMBER,
         "DEF_ID" NUMBER,
         "COURT_NAME" VARCHAR2(20 BYTE),
         "DATE_JOINED" DATE,
         "DATE_TERMINATED" DATE,
         "ETHNICITY" VARCHAR2(50 BYTE),
         "ACTIVE" VARCHAR2(20 BYTE)
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (1,1,'AAA',to_date('01/09/12','DD/MM/RR'),to_date('20/09/12','DD/MM/RR'),'European','1');
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (2,2,'BBB',to_date('01/10/12','DD/MM/RR'),null,'Asian','1');
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (3,1,'AAA',to_date('22/09/12','DD/MM/RR'),null,'European','1');
    CREATE TABLE "EVENT"
       ("EVENT_ID" NUMBER,
         "ENG_ID" NUMBER,
         "NOTES" VARCHAR2(20 BYTE),
         "RELATED_SERVICE_ID" NUMBER,
         "START_DATE" DATE,
         "END_DATE" DATE,
         "ACTIVE" NUMBER DEFAULT 1
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (1,1,null,1,to_date('01/09/12','DD/MM/RR'),to_date('02/09/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (2,1,null,1,to_date('23/09/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (3,1,null,2,to_date('15/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (4,2,null,null,to_date('02/10/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (5,2,null,2,to_date('03/10/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (6,3,null,null,to_date('22/09/12','DD/MM/RR'),to_date('23/09/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (7,3,null,4,to_date('23/09/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (8,2,null,null,to_date('12/10/12','DD/MM/RR'),null,1);
    CREATE TABLE "SERVICE"
       (     "SERVICE_ID" NUMBER,
         "ENG_ID" NUMBER,
         "DESCRIPTION" VARCHAR2(200 BYTE),
         "DATE_STARTED" DATE,
         "DATE_TERMINATED" DATE,
         "ACTIVE" NUMBER DEFAULT 1
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (1,1,'Counselling',to_date('15/09/12','DD/MM/RR'),to_date('18/09/12','DD/MM/RR'),1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (2,1,'Housing',to_date('20/09/12','DD/MM/RR'),null,1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (3,2,'Treatment',to_date('01/10/12','DD/MM/RR'),to_date('15/10/12','DD/MM/RR'),1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (4,3,'Housing',null,null,1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (5,1,'Other',to_date('05/10/12','DD/MM/RR'),null,0);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (6,2,'Treatment',to_date('16/10/12','DD/MM/RR'),null,1);****
    And this is the view I am thinking to use as the base for the report
    CREATE OR REPLACE FORCE VIEW "BASE_VW"
    AS
      SELECT Def.Def_Id,
        Def.First_Name,
        Def.Last_Name,
        Eng.Eng_Id,
        Eng.Court_Name,
        Eng.Date_Joined,
        Eng.Date_Terminated,
        Eng.Ethnicity,
        Ser.Service_Id,
        Ser.Description,
        Ser.Date_Started    AS Service_Start_Date,
        Ser.Date_Terminated AS Service_Date_Terminated,
        Ser.Active          AS Service_Active,
        Ev.Event_Id,
        Ev.Related_Service_Id,
        Ev.Start_Date,
        Ev.End_Date,
        Ev.Notes,
        ev.active AS event_active
      FROM Defendant Def
      LEFT OUTER JOIN Engagement Eng
      ON Def.Def_Id = Eng.Def_Id
      LEFT OUTER JOIN Service Ser
      ON Eng.Eng_Id = Ser.Eng_Id
      LEFT OUTER JOIN Event Ev
      ON Ev.Eng_Id = Eng.Eng_Id;****
    Requirement:
    Report parameter: Start Date, End Date, Court_name
    From chosen Court_name, list defendants who currently engage in the court.
    For each defendant display
    Section 1: Identifying Details: First Name, Last Name, Ethnicity, Date Joined Court
    Section 2: All Services currently active that the defendant attend
    Section 3: All Events that related to the service that the defendant attend
    Section 4: All other events (don't have Related Service ID)
    User must be able to download the whole report in spreadsheet or PDF format.
    I did try to create a set of union selects (but the format is not that good, when no data return it display nothing, I would rather show some messages like "There is no associated events, rather than nothing")
    and it only produces report for 1 defendant at a time.
    We use Oracle APEX , so only select statement or PL/SQL Code return select statement is valid for report source.
    In our place we use Jasper Report adjacent to APEX, but I have very little experience with Jasper report.
    The developer who knows a lot about jasper report is too busy to help me.
    Currently, I use union selects like below:
    With Current_Engagement As
    ( Select Eng_Id From Engagement
      Where Def_Id =2
      And Date_Joined Is Not Null
      And ( Date_Terminated Is Null Or Date_Terminated > Sysdate)
      And Rownum =1
    Select '1.Defendant ID' as col1, 'First Name' as col2, 'Last Name' as col3, 'Court Name' as col4, 'Ethnicity' as col5, 'Date Joined' as col6, 'Date Terminated' as col7
    From Dual
    Union All
    Select Distinct to_char(Def_Id), First_Name, Last_Name, Court_Name, Ethnicity, to_char(Date_Joined), to_char(Date_Terminated)
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Union All
    select '2.Service ID', 'Service Description', 'Start Date', 'End Date', Null, Null, Null
    from dual
    Union All
    Select distinct to_char(service_id), description, to_char(service_start_date), to_char(service_date_terminated), null, null, null
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    where service_active =1
    Union All
    Select '3.Event ID', 'Related Service ID', 'Start Date', 'End date', 'Notes', null, null
    From Dual
    Union All
    Select distinct to_char(event_id), to_char(related_service_id), to_char(start_date), to_char(end_date), notes, null, null
    from Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Where Event_Active = 1
    and related_service_id is not null
    Union All
    Select '4.Event ID', 'Start Date', 'End date', 'Notes', null, null, null
    From Dual
    Union All
    Select distinct to_char(event_id), to_char(start_date), to_char(end_date), notes, null, null, null
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Where Event_Active = 1
    and related_service_id is nulland the result is kind of what I try to achieve (except that I need to work on display a message 'No data found' rather than nothing), But it seems that my code works only for one defendant.
    COL1                           COL2                           COL3                           COL4                 COL5                 COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                      Court Name           Ethnicity            Date Joined Date Terminated
    2                              John                           Doe                            BBB                  Asian                01/10/12                   
    2.Service ID                   Service Description            Start Date                     End Date                                                             
    3                              Treatment                      01/10/12                       15/10/12                                                             
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                     End date             Notes                                           
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                       Notes                                                                
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    10 rows selected
         However, I struggle to find a way to apply this to more than 1 defendant and still keep the format.
    Defendant 1
    All details related to defendant 1
    Defendant 2
    All details relayed to defendant 2
    Defendant n
    All details relayed to defendant nIs it possible to display a report as above by using only SQL script ?
    Thanks a lot in advance. I am willing to compensate financially to someone who can give me a solution.
    Edited by: Ann586341. View base_vw SQL script is fixed.

    Thanks a lot Jeneesh. (You are really a guru.)
    It is nearly 98% what the requirements ask for.
    I just have one more question.
    If I add more information into the database, just one more defendant
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (3,'Minnie','Mouse',1);
    --and one in Engagement table
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (4,3,'BBB',to_date('05/10/12','DD/MM/RR'),null,'Latin America','1');Then I run the select statment again (without changing anything)
    With Current_Engagement As
    ( Select Eng_Id
      From Engagement
      Where /*Def_Id =2
      And*/ Date_Joined Is Not Null
      And ( Date_Terminated Is Null Or Date_Terminated > Sysdate)
      --And Rownum =1
    titles as
    ( Select  .9 dummy_rn,'1.Defendant ID' as col1, 'First Name' as col2, 'Last Name' as col3,
        'Court Name' as col4, 'Ethnicity' as col5, 'Date Joined' as col6,
        'Date Terminated' as col7
      From Dual
      union all
      select  1.9,'2.Service ID', 'Service Description', 'Start Date', 'End Date',
        Null, Null, Null
      from dual
      union all
      Select  2.9,'3.Event ID', 'Related Service ID', 'Start Date', 'End date', 'Notes',
        null, null
      From Dual
      Union All
      Select 3.9,'4.Event ID', 'Start Date', 'End date', 'Notes', null, null, null
      From Dual
    all_titles as
    ( select dummy_rn,eng_id,col1,col2,col3,col4,col5,col6,col7
      from current_engagement,titles
    select col1,col2,col3,col4,col5,col6,col7
    from (
          select dummy_rn,eng_id,col1,col2,col3,col4,col5,col6,col7
          from all_titles
          Union All
          Select Distinct 1,ce.eng_id,decode(Base_Vw.Eng_Id,null,'No Data',to_char(Def_Id)) def_id,
                          decode(Base_Vw.Eng_Id,null,'No Data',First_Name) First_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',last_Name) Last_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',court_Name) Court_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',ethnicity) Ethnicity,
                 to_char(Date_Joined), to_char(Date_Terminated)
          From Base_Vw
                  right outer join Current_Engagement Ce
                  On Base_Vw.Eng_Id = Ce.Eng_Id
          Union All
          Select distinct 2,ce.eng_id,
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_id)),
                decode(Base_Vw.Eng_Id,null,'No Data',description) ,
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_start_date)),
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_date_terminated)) ,
                decode(Base_Vw.Eng_Id,null,'No Data',null),
                decode(Base_Vw.Eng_Id,null,'No Data',null),
                decode(Base_Vw.Eng_Id,null,'No Data',null)
          From Base_Vw
                  right outer Join Current_Engagement Ce
                  On Base_Vw.Eng_Id = Ce.Eng_Id
          where service_active =1
          Union All
          Select distinct 3,ce.eng_id,
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(event_id)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(related_service_id)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(start_date)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(end_date)),
                 decode(Base_Vw.Eng_Id,null,'No Data',notes),
                 decode(Base_Vw.Eng_Id,null,'No Data',null),
                 decode(Base_Vw.Eng_Id,null,'No Data',null)
          from Base_Vw
               right outer Join Current_Engagement Ce
               On Base_Vw.Eng_Id = Ce.Eng_Id
          Where Event_Active = 1
          and related_service_id is not null
          Union All
          Select distinct 4,ce.eng_id,
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(event_id)),
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(start_date)),
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(end_date)),
                  decode(Base_Vw.Eng_Id,null,'No Data',notes),
                  decode(Base_Vw.Eng_Id,null,'No Data',null),
                  decode(Base_Vw.Eng_Id,null,'No Data',null),
                  decode(Base_Vw.Eng_Id,null,'No Data',null)
          From Base_Vw
              right outer Join Current_Engagement Ce
              On Base_Vw.Eng_Id = Ce.Eng_Id
          Where Event_Active = 1
          and related_service_id is null
    order by eng_id,dummy_rn,col1
    ;The result is
    COL1                           COL2                           COL3                      COL4                 COL5                      COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    2                              John                           Doe                       BBB                  Asian                     01/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3                              Treatment                      01/10/12                  15/10/12                                                                  
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    1                              Joe                            Bloggs                    AAA                  European                  22/09/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    4                              Housing                                                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    7                              4                              23/09/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    6                              22/09/12                       23/09/12                                                                                            
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    3                              Minnie                         Mouse                     BBB                  Latin America             05/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    23 rows selected Is it possible in SQL to display it like this
    COL1                           COL2                           COL3                      COL4                 COL5                      COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    2                              John                           Doe                       BBB                  Asian                     01/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3                              Treatment                      01/10/12                  15/10/12                                                                  
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    1                              Joe                            Bloggs                    AAA                  European                  22/09/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    4                              Housing                                                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    7                              4                              23/09/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    6                              22/09/12                       23/09/12                                                                                            
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    3                              Minnie                         Mouse                     BBB                  Latin America             05/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    No Service Found
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    No Event Found
    4.Event ID                     Start Date                     End date                  Notes                                                              
    No Event FoundOr just a 'No data found' would do. I am thinking about create a dummy table which contains only one row with text "There is no data found". And so the outer join with the result, but I still cannot work out how to integrate with the condition in your select statement.
    I really appreciate your help.

  • Application Developed in Apex 3.2 is not working Apex 4.1

    Hi,
    We have few application developed using oracle apex 3.2 and oracle 10g enterprise edition as the database also have a Apache tomcat server configured in the system. These application are running fine have no issue in production instance.
    I recently installed Oracle Apex 4.1 and Oracle 10g Express Edition in my local machine to test these application in oracle 4.1. I took the same database dump and installed in the local machine no issues with the database side. I installed the application that are developed in 3.2 and installed in new local instance but this is not working.
    It show >>Internet Explorer cannot display the webpage
    Please suggest me what might be the issue how to trouble shoot this issue.
    Thanks
    Sudhir

    I don't understand reading so many tract file starting with
    xe_s00??Most of the trace file show about {Embedded PL/SQL Gateway:} it shows is metioned below
    Embedded PL/SQL Gateway: (wppr.c,495) Pl/sql block parsed...
    Embedded PL/SQL Gateway: (wpdenv.c,1528) CGI Environment has 33 vars. Max name len 128, Max Value Len 512
    Embedded PL/SQL Gateway: PLSQL_GATEWAY(14)=(6)WebDb
    Embedded PL/SQL Gateway: GATEWAY_IVERSION(17)=(2)2
    Embedded PL/SQL Gateway: SERVER_SOFTWARE(16)=(42)Oracle >>Embedded PL/SQL Gateway/10.2.0.1.0
    Embedded PL/SQL Gateway: GATEWAY_INTERFACE(18)=(8)CGI/1.1
    Embedded PL/SQL Gateway: SERVER_PORT(12)=(5)8080
    Embedded PL/SQL Gateway: SERVER_NAME(12)=(16)XDB HTTP Server
    Embedded PL/SQL Gateway: REQUEST_METHOD(15)=(4)GET
    Embedded PL/SQL Gateway: QUERY_STRING(13)=(36)p=4000:1500:3165980474173701::NO:::
    Embedded PL/SQL Gateway: PATH_INFO(10)=(3)/f
    Embedded PL/SQL Gateway: SCRIPT_NAME(12)=(6)/apex
    Embedded PL/SQL Gateway: REMOTE_HOST(12)=(1)
    Embedded PL/SQL Gateway: REMOTE_ADDR(12)=(10)127.0.0.1
    Embedded PL/SQL Gateway: SERVER_PROTOCOL(16)=(9)HTTP/1.1
    Embedded PL/SQL Gateway: REQUEST_PROTOCOL(17)=(4)tcp
    Embedded PL/SQL Gateway: REMOTE_USER(12)=(10)ANONYMOUS
    Embedded PL/SQL Gateway: ORACLE_SSO_USER(16)=(1)
    Embedded PL/SQL Gateway: HTTP_CONTENT_LENGTH(20)=(2)0
    Embedded PL/SQL Gateway: HTTP_CONTENT_TYPE(18)=(1)
    Embedded PL/SQL Gateway: HTTP_USER_AGENT(16)=(71)Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Embedded PL/SQL Gateway: HTTP_HOST(10)=(15)127.0.0.1:8080
    Embedded PL/SQL Gateway: HTTP_ACCEPT(12)=(10)text/html
    Embedded PL/SQL Gateway: HTTP_ACCEPT_ENCODING(21)=(5)gzip
    Embedded PL/SQL Gateway: HTTP_ACCEPT_LANGUAGE(21)=(6)en-IN
    Embedded PL/SQL Gateway: HTTP_COOKIE(12)=(344)ORA_WWV_REMEMBER_UN=SUDHIR:DEVELOPMENT; PUBLIC_ORA_WWV_USER_63113903525053=-1; ORA_WWV_USER_63113903525053=2AD259DDAF6770BE05FEF29509B68F5F; LOGIN_USERNAME_COOKIE=sudhir; WWV_CUSTOM-F_1638610445865577_111=CC022FAB479054CF32361C22B789D7EE; ORA_WWV_ATTRIBUTE_PAGE=4495%2C%23ALL; WWV_CUSTOM-F_1638610445865577_107=19291B8FC60BA1A47916DE46EE85F01C
    Embedded PL/SQL Gateway: HTTP_REFERER(13)=(127)http://127.0.0.1:8080/apex/f?p=4000:1:3165980474173701::NO:RP:FB_FLOW_ID,F4000_P1_FLOW,P0_FLOWPAGE,RECENT_PAGES:109,109,109;|,
    Embedded PL/SQL Gateway: WEB_AUTHENT_PREFIX(19)=(1)
    Embedded PL/SQL Gateway: DAD_NAME(9)=(5)apex
    Embedded PL/SQL Gateway: DOC_ACCESS_PATH(16)=(5)docs
    Embedded PL/SQL Gateway: DOCUMENT_TABLE(15)=(23)wwv_flow_file_objects$
    Embedded PL/SQL Gateway: PATH_ALIAS(11)=(1)
    Embedded PL/SQL Gateway: REQUEST_CHARSET(16)=(9)AL32UTF8
    Embedded PL/SQL Gateway: REQUEST_IANA_CHARSET(21)=(6)UTF-8
    Embedded PL/SQL Gateway: SCRIPT_PREFIX(14)=(1)
    *** ACTION NAME:() 2012-06-27 16:52:32.213
    *** MODULE NAME:() 2012-06-27 16:52:32.213
    *** CLIENT ID:() 2012-06-27 16:52:32.212
    Embedded PL/SQL Gateway: (wpd.c,1960) Begin header parsing...
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (47 bytes): X-ORACLE-IGNORE: IGNORE
    Embedded PL/SQL Gateway: (wpd.c,2027) X-ORACLE-IGNORE parsed
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (47 bytes): X-ORACLE-IGNORE: IGNORE
    Embedded PL/SQL Gateway: (wpd.c,2027) X-ORACLE-IGNORE parsed
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (47 bytes): X-ORACLE-IGNORE: IGNORE
    Embedded PL/SQL Gateway: (wpd.c,2027) X-ORACLE-IGNORE parsed
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (47 bytes): X-ORACLE-IGNORE: IGNORE
    Embedded PL/SQL Gateway: (wpd.c,2027) X-ORACLE-IGNORE parsed
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (77 bytes): Content-type: text/html; charset=utf-8
    Embedded PL/SQL Gateway: (wpd.c,2108) Parsed header - Content-Type:text/html; charset=utf-8
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (43 bytes): X-Frame-Options: DENY
    Embedded PL/SQL Gateway: (wpd.c,2168) Parsed header - X-Frame-Options:DENY
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (43 bytes): Content-length: 40155
    Embedded PL/SQL Gateway: (wpd.c,2082) Parsed header - Content-Length:40155
    Embedded PL/SQL Gateway: (wpd.c,2009) Got a line (1 bytes):
    Embedded PL/SQL Gateway: (wpd.c,2016) End of headers detected
    Embedded PL/SQL Gateway: (wpd.c,1882) Parsed begin
    owa.get_page(:data__,:ndata__);
    end;
    Embedded PL/SQL Gateway: (wpd.c,1898) Bound drec variablesEmbedded PL/SQL Gateway: (wpcs.c, 76) Executed 'begin dbms_session.reset_package; end;' (rc=0)
    Embedded PL/SQL Gateway: (wpd.c,1818) Going to close cursor
    Embedded PL/SQL Gateway: (wpx.c,660) Normal completion
    Embedded PL/SQL Gateway: (wpx.c,688) Shutdown has been called
    Embedded PL/SQL Gateway: (wpx.c,700) Going to logoff
    *** SESSION ID:(527.737) 2012-06-27 16:52:37.533
    Embedded PL/SQL Gateway: (wpdenv.c,679) script_name='/apex' path_info='/f'script_prefix='' dad_name='apex'
    Embedded PL/SQL Gateway: (wpdenv.c,792) User-Agent is Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Embedded PL/SQL Gateway: (wpdenv.c,1412) dadname = 'apex', path_info = 'f'
    Embedded PL/SQL Gateway: (wpdenv.c,1451) Service will NOT use dynamic auth
    Embedded PL/SQL Gateway: (wpx.c,394) Initialized successfully 0
    Embedded PL/SQL Gateway: (wpx.c,316) SetRemoteUser : Remote User set to ANONYMOUS for this request.
    Embedded PL/SQL Gateway: (wpx.c,480) Auth info from .APP file is being used
    Embedded PL/SQL Gateway: (wpd.c,1729) Attempting to logon with '(unknown)'
    Embedded PL/SQL Gateway: (wpu.c,1499) DBCharSet=>AMERICAN_AMERICA.AL32UTF8 OWAVersion=10.1.2.0.4 (101204) OWAMatch=>1 (rc=0)
    Embedded PL/SQL Gateway: (wpd.c,1763) Logged in as (unknown)
    Embedded PL/SQL Gateway: (wpx.c,593) Going to select...
    Embedded PL/SQL Gateway: (wpx.c,647) Have been asked to execute a request
    Embedded PL/SQL Gateway: (wppa.c,335) Building Arglist based on Parsed Content from WRB
    Embedded PL/SQL Gateway: (wppa.c,1015) Enter ParseUrlData
    Embedded PL/SQL Gateway: GET
    Embedded PL/SQL Gateway: (wppa.c,1064) Getting Values from QUERY_STRING
    Embedded PL/SQL Gateway: [headers begin]
    Embedded PL/SQL Gateway: HTTP_COOKIE(11): (343)ORA_WWV_REMEMBER_UN=SUDHIR:DEVELOPMENT; PUBLIC_ORA_WWV_USER_63113903525053=-1; ORA_WWV_USER_63113903525053=2AD259DDAF6770BE05FEF29509B68F5F; LOGIN_USERNAME_COOKIE=sudhir; WWV_CUSTOM-F_1638610445865577_111=CC022FAB479054CF32361C22B789D7EE; ORA_WWV_ATTRIBUTE_PAGE=4495%2C%23ALL; WWV_CUSTOM-F_1638610445865577_107=19291B8FC60BA1A47916DE46EE85F01C
    Embedded PL/SQL Gateway: [headers end]
    Embedded PL/SQL Gateway: p=109:1:3165980474173701:::::
    Embedded PL/SQL Gateway: Identifier legal p(notconverted)
    Embedded PL/SQL Gateway: (wppa.c,1514) indx = 1, entryCnt = 1
    Embedded PL/SQL Gateway: (wppa.c,1834) Listing distinct actual names:
    Embedded PL/SQL Gateway: (wppa.c,1836) p
    Embedded PL/SQL Gateway: (wppa.c,1838) Listing actuals of array with large entries:
    Embedded PL/SQL Gateway: (wppa.c,1843) Listing distinct actual names and values:
    Embedded PL/SQL Gateway: (wppa.c,1875) p, type = 0, value (28) = 109:1:3165980474173701:::::
    Embedded PL/SQL Gateway: (wppa.c,430) Arglist built, 1 unique entries
    Embedded PL/SQL Gateway: (wpx.c,654) Going to wpprodb_OciDoBlock...
    Embedded PL/SQL Gateway: Identifier legal f(notconverted)
    Embedded PL/SQL Gateway: (wppr.c,435) start working with f
    Embedded PL/SQL Gateway: (wppr.c,1017) lcase(procname): f
    Embedded PL/SQL Gateway: (wppr.c,1296) The CALL block: len=1067, bind_count=9What is the next step to make the 3.2 developed application work.
    Thanks
    Sudhir
    Edited by: Sudhir_Meru on Jun 27, 2012 5:09 AM
    Edited by: Sudhir_Meru on Jun 27, 2012 5:11 AM

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

  • Event page view in APEX 4.0

    hi -- It looks to me like the new "tree" page view in APEX 4.0 shows only regions/processes/items, etc defined on the current page. If I recall correctly, the "event" view in
    3.2 showed app processes and page 0 regions, etc intertwined w/ the actual page items.
    Is there a view available in 4.0 that mimics this event view? I found it very handy...
    thanks,
    carol

    Is there a view available in 4.0 that mimics this event view? I found it very handy...Now available from the page Utilities pop-up menu: Utilities > Page Events.

  • How many mails i can send at a time per day using APEX mail system?

    HI,
    I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
    given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
    it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
    saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
    can any one help me to know How many mails i can send at a time per day using APEX mail system?
    Thanks in advance
    Gowthami

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • Time Interval for Daily Calendar in APEX 3

    Hi,
    we're looking at upgrading to Apex 3 and I have a question about the Daily Calendar time interval. Is there a way to change the interval to say, 15 minutes from the default 1 Hour?
    Cheers
    Kofi

    Hello Kofi,
    "Now looking at what I can see on apex.oracle.com, are you saying we'd just have to modify the daily calendar template?"The template only control the look of the calendar, not its functionality. If the default daily view meets your needs, you don't have to define any new templates.
    "I'd imagine that the whatever is creating the tags that will be displayed by the template needs changing to incorporate the other 15 minute cells I would add"Most of the calendar functionality you can control can be defined on the "Calendar Attributes" tab. The most important is the date column. If this column includes reference of time (on top of the date, of course) the APEX engine will automatically associate your entry with the proper "Hour" row. You are not adding cells. You are adding calendar entries. If several of these entries share the same hour slot, APEX will put all of then in the same row.
    The best way to understand it is simply define these entries. As I understand, you have access to apex.oracle.com, so it shouldn't be a problem.
    Regards,
    Arie.

  • How can I change the event display in an APEX 4.2 calendar?

    Colleagues:  The APEX calendar feature is pretty neat, but of course there's a feature I'd like to use but can't find how/where to change it.  In other calendaring apps (e.g., Thunderbird) when an event is logged, like tomorrow's staff meeting, the time is blocked out vertically for the length of the event.  So for example: if staff is from 2pm-4pm, both 2-3 and 3-4 are colorized so a quick visual will show what times during the day are not available.
    The APEX calendar will show a colored bar for the start time of the event, but not a blocked-out vertical for the entire event.  Make sense?  Any way I can change the calendar/event view to accommodate this?
    Thanks for your help.
    Broc Norman II
    Sr DBA
    GIT / Hillsboro Manufacturing Site

    use - Region Plugin - SkillBuilders Calendar which is useful to display event as your requirement
    Try this.
    Pars.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

Maybe you are looking for

  • Screen sharing and video chatting

    When i am video chatting with someone and i start sharing a screen with them the video chat goes away i can still talk with them but if i stop sharing the screen the call/video chat i started is ended is there any way to continue the video chat after

  • Installing iTunes (Friend's problem)

    Hi there everyone. i have a problem with someone that is haveing trouble installing iTunes. I have already tryed the StandAlone for him/her but they reply with some message's this is the person's problem. (This was posted by him/her) This morning my

  • Add SharePoint 2013 On-Premise to Add a Place in Office 2013

    We are in the process of rolling out SharePoint 2013 on-premise to all users in our organization. As part the roll-out we are also upgrading users to Office 2013. Unfortunately, we have difficulty explaining to users how to Save As to SharePoint the

  • Java Export ( ABAP+JAVA) BI 7.0

    Could someone please help me to understand .. 1 . Purpose of java export 2 . Should we take java export immediately after database backup (ABAP) completes . how these two ( ABAP+Java) , how they are interrelated . 3.  If database backup ( ABAP) fails

  • 5508 Guest Anchor 7.4MR2

    We are upgrading all Foreign 5508 WLC's to 7.4MR2.  Out Guest Anchor is currently on 7.0.235.  Any reason not to upgrade the Guest Anchor to 7.4MR2?  Has anyone encountered any issues doing this?  We are not having any issues on 7.0, and I just did n