Apex on Sourceforge!

Just ran into Scott's recently blog entry about Apex on Sourceforge!
http://spendolini.blogspot.com/2006/04/apex-open-source-applications.html
http://sourceforge.net/projects/oracle-apex/
http://apex.oracle.com/pls/otn/f?p=45326:107
Looks like this is Carl's baby. Way to go, Carl!
There seems to be 1 fully functional application presently, which is the OTN Forums application. There is a sandbox to play around with at
http://htmldb.oracle.com/pls/otn/f?p=ODF
The Forums app is fantastic, has all the functionality of the OTN Forum and all source code is available.
This is a great effort.
Carl, could you spend some time explaining how you see this progressing? What is your vision, what would you like this to grow into, how much community participation do you expect, etc.?
Thanks again.

Hi all,
Considering that with XE and APEX being free we are 'almost' an Open Source product so starting a coordinated open source project for applications seemed the next logical step.
A little background on this project, each developer on the APEX team has been tasked to build one or two applications this just happens to be the first one we have built. As each application gets done if there is significant interest in working on it we will release it on sourceforge for collaborative development instead of the Studio. The Studio has been great for getting applications out there but does leave a little to be desired for shared development, we are hoping that this new project changes that.
Over the next couple weeks as we get the details ironed out we will open up the project for development. We're going to be looking for developers, project administrators etc so if you want to join up get a sourceforge account and mail your sourceforge user name directly to me [email protected]
This is the first time that I've done something like this I'd absolutely like pointers, tips, criticisms etc on the process so it can be improved. It's not my project I've just probably had the most experience (in our group) dealing with sourceforge, plus everybody had to listen to me rant on and on about how cool it would be so I think they gave me the go ahead just to get me to quite down. Raj has been absolutely awesome in helping me out with this and saving me from myself by making sure I keep the scope to something a mere mortal can actually do, especially considering I still have a day job :) and special thanks to the crew in India that take a first stab at the forum application.
At the moment what we need most is feedback for features http://sourceforge.net/forum/forum.php?forum_id=558971 and any bugs http://sourceforge.net/tracker/?group_id=162870&atid=825493 that are found in the forum application.
Thanks,
Carl

Similar Messages

  • Blog or Wiki applications built using APEX

    I have been tasked with finding a ready-made solution that we can use as a developers' scrapbook where development team members can store useful hints/tips, code samples, coding standards etc etc
    An APEX solution would be best (something similar to Carl Backstrom's APEX demo app, maybe) since it's familiar territory and it would keep the sys admins happy - but I'm open to other solutions.
    A non-APEX solution would have to be Windows based, with no server-side requirements.
    I quite like TiddlyWiki (http://www.tiddlywiki.com) but it's not multi-user. There is a 'groupauthoring' plugin for it (http://tiddlywiki.bidix.info/) but it requires use of Ruby scripts on the server.
    Online blogs like blogspot would be great, but The Business wants to keep everything in-house.
    So, has anyone built a blog or wiki-type application using APEX that they would be willing to release 'into the wild'? Or is there another solution that I've missed ...
    Cheers
    Richard

    Hello,
    Here is an example of the beginnings of the wiki application, to edit add a subject just login it uses open credentials,
    http://apex.oracle.com/pls/otn/f?p=2757:709
    the code as it stands here can be downloaded here (it differs slightly from the demo version as i've actually done some dev work on it)
    http://oracle-apex.svn.sourceforge.net/viewvc/oracle-apex/wiki/
    Feel free to download add critic etc, I defiantly am still looking for someone that knows regex really well it would help greatly speed development along.
    There will be movement on this and the forum application as I finally have a bit of time to work on these again, of course anyone that wants to help is greatly appreciated.
    Carl

  • Packaged Applications

    Hi Everyone,
    I am very new in Oracle and I have, i think, very simple question.
    I would like to install one of the Oracle packaged application samples and test it out. So, my question is: what software do I need to run it.
    As I understand, I need to install Oracle application server but I am not sure about Oracle Database server. Do I need both of them to run and manage application and the database?
    Thanks

    Hello,
    They aren't the same thing though there will be some overlap
    Re: APEX on SourceForge
    I'll check the links on sourceforge today stuff and make sire it has the newest build available.
    Carl

  • Is there any way to sent apex reports in mail

    Hi All,
    I have a requirement to sent an apex report as a mail. Is it possible? Or will I have to write PLSQL procedure to collect the records and embed in html tags and then send the mail
    I tried to use <iframe> tag and embed the apex page which is public in to the mail, But it doesn't look good.
    Thanks & Regards,
    Vikas Krishna

    Vikas,
    As I understand it, this will be a feature of 4.0. However, for now you must still create them manually. Using public pages, as you've seen, can be tricky. Think about pagination and such.
    If an iframe would have "worked" then why not an email with a link back to the right page?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • APEX 3.1 Enhancements

    Now that APEX 3.0 is out, it's time to collect some enhancements for the next release.
    In the APEX 3.0 Feedback Application a lot of users already posted enhancements for the next release and I'm sure some of them are considered by Oracle.
    Because the Feedback Application isn't available anymore, I thought one single thread would be good for us and Oracle to keep track of some useful enhancements for the upcoming release.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

    I'd really like to see a more well-defined item/region hierarchy.
    What I mean by this is that I would like each item or region (etc.) to be modular in use.
    The sourse of this idea is based upon the fact that each item or region is simply a block of HTML code. This bock of code could be made more modular, allowing for better page structure.
    For example, you could create a region, put 2 regions and some items inside it, and put some items inside those sub-regions.
    Instead of a page's content being defined as 'which regions are on the page and where are they located', it would be defined as a list of regions and/or items, etc.
    Also, as each item/button/text (display only) is a block of HTML code they should all be dealt with equally.
    Currently, there exists a distinction between these types of items, in both how they are created and how they are placed in a region. I'd like to see this removed.
    In short, I would like to see each item, button, text block (display only), region, report, chart, image etc. all be treated as an 'object' - a block of HTML code.
    This would enable a single graphical interface (like a slightly more advanced version of the item drag and drop editor) to modify a page by placing items and regions (containers), and also providing a code-based, text-based method of editing the page.

  • Apex 3.1.2 with Oracle 11G - /i/ alias question

    I just recently installed Oracle 11G with Apex 3.0 and then upgraded Apex to 3.1.2. I am able to login and do most of the regular tasks. I built an application using custom flash components. When I used Apex with Oracle 10G, I can copy the SWF files to the directory mapped to /i/ alias and it worked fine.
    Same is not working with 11G. First of all I am not sure to what path the /i/ in 11G is mapped to. Any help is greatly appreciated. I used Embedded Pl/Sql gateway.
    Thanks
    Karthik
    Edited by: karthikm on Dec 30, 2008 4:40 PM
    Edited by: karthikm on Dec 30, 2008 4:40 PM

    Dingfei,
    You need to make sure that you have access to the "i" folder. Make sure that the alias defined in your dads.conf is properly configured.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • APEX 3.0 Printing fails Acrobat could not open file

    I like the new printing tab in Apex 3.0 but I have already stumbled across a problem.
    If I put text in the "Page Header" with a page item:
    REPORT for &P9_USER
    The report errors when opening in Acrobat:
    Acrobat Reader could not open 'Report[1].pdf because it is either not a supported file type or because the file has been damaged (for example, it was sent as a email attachemnt and wasn't correclty decoded).
    The report opens fine with just
    Report
    P9_USER is a valid page item.
    The "Page Header" help text: Enter text to appear in the header section of the document. To show values of application and page items, use the &ITEM_NAME. syntax.
    So, why does it fail?
    Thanks,
    Drew

    Have you tried a period at the end of &P9_USER ?
    => REPORT for &P9_USER.
    I'm able to reproduce your behavior if I skip the period at the end. Looks like the reporting engine has a problem is the header contains a &
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • Create MS Word documents from data in an Apex Form/Report

    My requirement is to create editable RTF form letters from data managed by an Apex application. I do not have BI publisher available and am looking at using the XSL-FO route. Effectively I want the user to select the desired data in the Apex application, hit a button and be presented with a word document containing the data, which they can then customise.
    I know how to set Apex up to create PDFs based on reports using embedded XSL-FO but PDFs are not editable extra steps by the user. Also the user could export data to CSV and mailmerge with a word template but thats extra work for the user too.
    In the past I've used PLSQL/XML/XSL-FO with .NET to do what I want here by generating an XML file with PLSQL and using .NET to associate the XML file to XSLT/XSL-FO template files creating output as varied as .doc, .ps and .html files.
    Any ideas on acheving the same flexibility with Apex would be greatly appreciated. As my googling and forum hunting has not turned up much.
    Thanks
    FunkyMonkey

    Hi FunkyMonkey,
    Do you know Docufy | Simplify with docufy ? It's an APEX application that lets you create/generate/edit word templates. Else JasperReports Library | Free software downloads at SourceForge.net lets you generate a multitude of report formats (RTF/pdf/docx/xlsx/xml/etc.) you can use iReports to easily create xml templates for the reports, It's a lot simpler then xsl-fo.
    Regards,
    Vincent Deelen

  • Error when running ireport xml on apex using pL-JRxml2pdf

    Hi,
    I have created a report and it runs successfully on Jasper ireport but when I copied the xml to the apex in pL-JRxml2pdf and tried to preview it it gave me the error below:
    ORA-06502: PL/SQL: numeric or value error: dbms_sql.describe_columns overflow, col_name_len=35. Use describe_columns2
    Please assist.

    Mr.Andreas I've already sent my question before to post it there but no one replied to me.
    the xml which is working fine on ireport:
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="pharmacy2014" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dd1428eb-8306-47c8-881c-1b53b576b8b6">
      <property name="ireport.zoom" value="1.0"/>
      <property name="ireport.x" value="0"/>
      <property name="ireport.y" value="60"/>
      <queryString>
      <![CDATA[select pare.mmr,pare.FIRSTNAME||' '||pare.FAMILYNAME,ep.EPISODEID,ep.admission,ep.DISCHARGE,pade.packagename,inor.orderid,inor.QUANTITY,orit.DESCRIPTION,orit.PRICE
    from PATIENTSREGISTRATION pare inner join EPISODE ep on (pare.mmr = ep.mmr)
    full join PACKAGEDEAL pade on (pade.PACKAGEID = ep.PACKAGE)
    full join INPATIENTORDER inor on(inor.EPISODEID = ep.EPISODEID)
    full join ORDERITEMS orit on (orit.ORDERID = inor.ORDERID)
    where ep.episodeid=2046]]>
      </queryString>
      <field name="MMR" class="java.math.BigDecimal"/>
      <field name="PARE.FIRSTNAME||&apos;&apos;||PARE.FAMILYNAME" class="java.lang.String"/>
      <field name="EPISODEID" class="java.math.BigDecimal"/>
      <field name="ADMISSION" class="java.sql.Timestamp"/>
      <field name="DISCHARGE" class="java.sql.Timestamp"/>
      <field name="PACKAGENAME" class="java.lang.String"/>
      <field name="ORDERID" class="java.lang.String"/>
      <field name="QUANTITY" class="java.math.BigDecimal"/>
      <field name="DESCRIPTION" class="java.lang.String"/>
      <field name="PRICE" class="java.math.BigDecimal"/>
      <variable name="TotalPerItem" class="java.lang.Double">
      <variableExpression><![CDATA[$F{QUANTITY}*$F{PRICE}]]></variableExpression>
      </variable>
      <variable name="TotalDue" class="java.lang.Double" calculation="Sum">
      <variableExpression><![CDATA[$V{TotalPerItem}]]></variableExpression>
      </variable>
      <background>
      <band splitType="Stretch"/>
      </background>
      <title>
      <band height="126" splitType="Stretch">
      <staticText>
      <reportElement uuid="33d865d1-eefd-4151-816e-5a43563072ed" x="101" y="0" width="351" height="48"/>
      <textElement textAlignment="Center">
      <font fontName="Monospaced" size="28" isBold="true" isUnderline="false"/>
      </textElement>
      <text><![CDATA[Pharmacy Report]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="abc684c0-fdcc-4bda-b87c-46f2ec871fe1" x="0" y="83" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Report Date:]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="a1ec3467-dbda-415a-80f3-597d422fb6fb" x="0" y="103" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Admission Date:]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="d3cf4575-0255-4a57-ba6f-d8fe73205b1c" x="351" y="82" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Discharge Date:]]></text>
      </staticText>
      <textField pattern="dd/MM/yyyy h.mm a">
      <reportElement uuid="9f649db1-8fee-4aa5-a719-2b6930f3b434" x="87" y="84" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="64de1f0d-f5ef-4142-bdde-42926376ad3c" x="87" y="104" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{ADMISSION}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="f4f3d6cb-7442-486b-8738-5c427e819909" x="438" y="82" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{DISCHARGE}]]></textFieldExpression>
      </textField>
      </band>
      </title>
      <pageHeader>
      <band height="55" splitType="Stretch">
      <staticText>
      <reportElement uuid="e420994a-235d-4530-8360-e876c8ae40b6" x="0" y="8" width="100" height="20"/>
      <textElement>
      <font size="10" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[MMR NO.]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="1978f81a-f9a5-4675-8628-7c0ceb48e9d2" x="0" y="29" width="100" height="20"/>
      <textElement>
      <font size="10" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[PATIENT NAME]]></text>
      </staticText>
      <textField>
      <reportElement uuid="ae113a7d-51c3-49a2-b79c-94d57e078f7f" x="101" y="9" width="285" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{MMR}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="fbdf24b3-4dd4-4c8b-b766-2d5f5fb65f84" x="100" y="29" width="288" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PARE.FIRSTNAME||''||PARE.FAMILYNAME}]]></textFieldExpression>
      </textField>
      <line>
      <reportElement uuid="0a11e615-f74d-404d-8a8c-542db62ea786" x="1" y="49" width="554" height="1"/>
      </line>
      </band>
      </pageHeader>
      <columnHeader>
      <band height="50" splitType="Stretch">
      <staticText>
      <reportElement uuid="c4d62eda-bc1d-42cf-888f-60da313ed021" x="469" y="30" width="64" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Total]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="d9df5da5-eab5-4c65-9265-9133f9e720ab" x="305" y="31" width="100" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[QTY]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="01dc4561-b521-4ab9-aa23-bdc9bc4ff870" x="0" y="30" width="212" height="20" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Description]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="3bd3288c-40d9-4ab3-abab-19196f6112c5" x="405" y="31" width="64" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Price]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="be12f0d4-1cfd-48ac-b207-b58cd22267d1" x="0" y="0" width="79" height="20" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Package Name:]]></text>
      </staticText>
      <textField>
      <reportElement uuid="29994cd4-59a9-4d7e-b7d0-56114e0bb198" x="79" y="0" width="430" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PACKAGENAME}]]></textFieldExpression>
      </textField>
      </band>
      </columnHeader>
      <detail>
      <band height="29" splitType="Stretch">
      <textField>
      <reportElement uuid="fea937c7-db92-4d99-9ba2-ba5973fe80e9" x="0" y="0" width="305" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{DESCRIPTION}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="8a46e1b4-01fb-45ad-96d8-e23ecbb5d0c7" x="305" y="0" width="100" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{QUANTITY}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="f27bd251-ac0e-407e-8778-fe09eb91bfb5" x="405" y="0" width="64" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PRICE}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="fad53b1c-cb81-470c-bb2c-de490b5f981d" x="469" y="0" width="64" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$V{TotalPerItem}]]></textFieldExpression>
      </textField>
      </band>
      </detail>
      <columnFooter>
      <band height="80" splitType="Stretch">
      <staticText>
      <reportElement uuid="1aec00ca-e067-4616-888f-abcbee0e5e51" x="398" y="30" width="157" height="50"/>
      <textElement textAlignment="Right">
      <font size="8"/>
      </textElement>
      <text><![CDATA[PO BOX Jeddah 21353
    Saudi Arabia
    Tel: +966 - 2 - 2292222
    Fax: + 966 - 2 2292222
    www.almashfa.com]]></text>
      </staticText>
      <rectangle>
      <reportElement uuid="9d0a82c5-625a-466d-8691-49e9114b69cf" x="80" y="1" width="337" height="20" forecolor="#999999" backcolor="#999999"/>
      </rectangle>
      <staticText>
      <reportElement uuid="71445699-fc2d-4fa0-bab1-1098eba756cf" x="101" y="1" width="299" height="20" backcolor="#999999"/>
      <textElement textAlignment="Center" verticalAlignment="Middle">
      <font size="11" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[We Value Your Health ]]></text>
      </staticText>
      </band>
      </columnFooter>
      <summary>
      <band height="22" splitType="Stretch">
      <staticText>
      <reportElement uuid="597004a3-0ae9-43a0-beaf-5bdd9103db52" x="405" y="0" width="64" height="20"/>
      <textElement>
      <font isUnderline="true"/>
      </textElement>
      <text><![CDATA[TOTAL DUE:]]></text>
      </staticText>
      <textField pattern="###0.00;(###0.00)" isBlankWhenNull="true">
      <reportElement uuid="1f7381a9-fea6-4af9-be01-fb01e9d7aa96" x="469" y="0" width="86" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$V{TotalDue}]]></textFieldExpression>
      </textField>
      </band>
      </summary>
    </jasperReport>

  • Issue with path reference in apex.min.css file using Theme 25

    Hi all.
    I upgraded recently to Apex 4.2.1.00.08 and my existing applications had been working fine. I then thought I'd changed the theme to Theme 25 as it was a new one available to me. This was fine and the application works well however I wanted to test a change to the css so I copied the apex.min.css file and renamed it as apex.min_copy.css. I made my small change, which was just a change to the background colour of the table in apexir.WORKSHEET. I then uploaded this through the shared components and referenced it in my header using
    #WORKSPACE_IMAGES#apex.min_copy.cssI also commented out the referenced to #APEX_CSS# in the header so it would use my uploaded copy and not be overridden.
    When I then ran the application again, it prompted me for the xdb username and password. I tracked this down to lines in the css file where the relative path to an image in the file was like ../ws/image_name
    For example:
      background-image : url(../ws/report_bg.gif);I took these lines out, uploaded again and it was fine and my change was visible, meaning that the #WORKSPACE_IMAGES#apex.min_copy.css was being read correctly. I can also browse the location of these files on the xdb database using a browser connected a system and I can see the files where i expect them to be.What I cannot understand is how other references to images in this css file such as
    background : url(../apex/builder/dev-bar.png) 0 0 repeat-x transparent;
    background-image : url(../htmldb/builder/builder_find_bg.png);do not cause an issue but the one mentioned earlier(/ws) does
    I hope someone has an idea .
    Thanks,
    Colm Dickson

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • How to save pdf in APEX 3.0

    is there a way to save the pdf output into APEX database in ver 3

    Hi,
    based on Marc's suggestion to use UTL_HTTP to get the PDF I played around a little bit. But I didn't try to directly communicate with the report server which would require to send and XML stream which I would have to generate, I took a shortcut and thought why shouldn't APEX do the hard work :-)
    1) Create a table with a BLOG, eg.
    CREATE TABLE TESTPDF (PDF_REPORT BLOB);2) Set the "Static ID" region property to a value.
    3) Load the below procedure into your application schema
    3) Call the procedure getPDF in one of your page processes.
    CREATE OR REPLACE PROCEDURE getPDF
      ( pStaticRegionId IN VARCHAR2
    IS
        vRegionId  APEX_APPLICATION_PAGE_REGIONS.REGION_ID%TYPE;
        vReportURL VARCHAR2(255);
        vBlobRef   BLOB;
        vRequest   Utl_Http.req;
        vResponse  Utl_Http.resp;
        vData      RAW(32767);
    BEGIN
        -- get internal region id of the report region
        SELECT REGION_ID
          INTO vRegionId
          FROM APEX_APPLICATION_PAGE_REGIONS
         WHERE APPLICATION_ID = Apex_Application.g_flow_id
           AND PAGE_ID        = Apex_Application.g_step_id
           AND STATIC_ID      = pStaticRegionId
        -- build URL to call the report
        vReportURL := 'http://apex.oracle.com/pls/otn/f?p='||
                      Apex_Application.g_flow_id      ||':'||
                      Apex_Application.g_step_id      ||':'||
                      Apex_Application.g_instance     ||':'||
                      'FLOW_XMLP_OUTPUT_R'||vRegionId||'_en';
        -- get the blob reference
        INSERT INTO TESTPDF
          ( PDF_REPORT
        VALUES
          ( Empty_Blob()
        RETURNING PDF_REPORT INTO vBlobRef;
        -- get the pdf file from APEX by simulating a report call from the browser
        vRequest := Utl_Http.begin_request(vReportUrl);
        Utl_Http.set_header(vRequest, 'User-Agent', 'Mozilla/4.0');
        vResponse := Utl_Http.get_response(vRequest);
        LOOP
            BEGIN
                -- read the next junk of binary data
                Utl_Http.read_raw(vResponse, vData);
                -- append it to our blob for the pdf file
                Dbms_Lob.writeAppend
                  ( lob_loc => vBlobRef
                  , amount  => Utl_Raw.length(vData)
                  , buffer  => vData
            EXCEPTION WHEN Utl_Http.END_OF_BODY THEN
                EXIT; -- exit loop
            END;
        END LOOP;
        Utl_Http.end_response(vResponse);
    end getPDF;Haven't really be able to test the code with a real APEX report, because apex.oracle.com doesn't allow to load a page which references utl_http and I don't have access to another APEX instance right now. But I have tested that the utl_http code and the storage into the blob works with some other URL.
    So if anybody could try out...
    BTW, the above code should only be used as an example. I would suggest to pass the BLOB reference as parameter to the procedure and not do the insert directly in the procedure. That way you can use it for several different applications/tables.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Problem with instation APEX ..........

    Hello,
    When i am trying to install Oracle Database 10g Express Edtion I am getting this operationg system error :
    <the system is noth at the correct service pack level for installing oracle database 10g Express Edition>
    anybody faced this problem or this issue before ,
    Thanks in advance ,
    Ahmed

    Hi Ahmed,
    that seems to be a Oracle XE installation problem and not an APEX one. It's better to ask that question in the dedicated Oracle XE forum.
    But based on your error message I would assume that your Windows operating system patch level doesn't comply to the minimum requirements. Check the installation/readme of Oracle XE for the minimum system requirements.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • APEX - New Installation - Pages not displaying correctly

    I installed APEX 3.0.1 on my XP machine, which also has Oracle Enterprise 10.2.0.1 installed. I checked the installation log - no errors.
    I performed the following to get it working via the Embedded PL/SQL Gateway:
    begin
    dbms_xdb.sethttpport(8080);
    end;
    alter user anonymous account unlock;
    begin
    dbms_epg.create_dad('APEX','/apex/*');
    dbms_epg.set_dad_attribute('APEX','database-username','ANONYMOUS');
    dbms_epg.set_dad_attribute('APEX','default-page','apex');
    dbms_epg.set_dad_attribute('APEX','document-table-name','wwv_flow_file_objects$');
    dbms_epg.set_dad_attribute('APEX','document-path','docs');
    dbms_epg.set_dad_attribute('APEX','nls-language','american_america.al32utf8');
    dbms_epg.set_dad_attribute('APEX','document-procedure','wwv_flow_file_mgr.process_download');
    dbms_epg.set_dad_attribute('APEX','request-validation-function','wwv_flow_epg_include_modules.authorize');
    end;
    begin
    dbms_epg.AUTHORIZE_DAD('APEX', 'ANONYMOUS');
    end;
    However, when I go to the login page, the images are not displayed and when I try to use some of the other links, I repeatedly get prompted for a password for XDB.
    The page error is:
    Line: 40
    Char: 1
    Error: Object expected
    Code: 0
    URL: http://gtlt01479:8080/apex/.......
    Can anyone shed some light on this for me?

    Hi Joseph,
    the installation instruction isn't really clear on that, but "Embedded PL/SQL Gateway" is not supported for pre-11g databases. See http://www.oracle.com/technology/products/database/application_express/html/3.0_fsps.html#08
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • APEX 3.0: Region caching and PDF Export

    Hi,
    there was some comment in the APEX 3.0 Feedback Application that if a region has activated the new "Caching" settings, the Flash Chart data, PDF Export and CSV Export get also cached.
    That seems to work fine for the Flash Charts, they display the cached data, but the new PDF Export and the CVS Export always requery the data.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

    Hi Patrick,
    That is correct, PDF and CSV exports are not cached. I don't know why this was stated differently in the feedback application.
    Regards,
    Marc

  • Insert a record into a table through email in an Oracle APEX application

    I developed an Oracle APEX application, there is a table called events. I can insert/update/delete a record in the table through browser. I am thinking in order to quickly do the data entry, user should be able to send an email, then the table should be inserted with values from email address, timestamp, subject and body. Anyd idea how to realize this functionality?
    - Denis

    Start by checking whether your mail server provides any API's for accessing emails , if it does you might be able to reduce a lot of work by using some kind of web service consumer from apex to your mail server. In any case your implementation is going to be dependent on your Mail Server configuration.
    Your problem breaks down to reading/accessing mails from the mail server from PLSQL (apex is driven by PLSQL).
    I found this other thread which could be of some use.
    WAY TO ACCESS A MAIL SERVER FROM ORACLE APEX
    <li>The following package might solve your problem directly(from carsten czarski of the German Apex community)
    [url http://plsqlmailclient.sourceforge.net]http://plsqlmailclient.sourceforge.net
    PS: POP3 support is still TBD.
    <li>I also found this posting in the orafaq forums which lists a java method and PLSQL code bit for it for accessing emails via POP3
    [url http://www.orafaq.com/forum/t/80928/2/]http://www.orafaq.com/forum/t/80928/2/
    If these do not work for you, find some java library to read mail from your server, write a PLSQL wrapper for it and use it in a scheduled job(DBMS_JOB)/a PLSQL block triggered from Apex.
    If you get stuck there, find some utility that can read mails, invoke them from your DB using java,shell scrpt,dbms_scheduler etc and use the utility's function for the rest.
    NOTE: I haven't tried any of these utilities and you must validate any java code before running them on your environment.
    Since aren't really much restrictions(other than spam checks) in sending a mail to your mail account, you might want to consider filtering out the mails from which you create records.

Maybe you are looking for

  • How to get Date Difference in Query with Replacement Path !

    I need to get nr of days between two days. I knew that we can do this by replacement path in the queries. But when Iam trying to use replacement path with this two chars and put it in a formula the result is not showing correctly. Eg: I have dates Da

  • Cannot uninstall/re install Oracle 8.1.7

    On a W2K Pro SP3, I started the installation of 8.1.7 I had a power outage, so I uninstalled and tried to re install Oracle. After uninstallation, I noticed that a lot of files / registry entries persisted During the following install, I get several

  • Work flow in error when executed with a user decision.

    Hi, I am executing a workflow for notification of absence. It has a user decision step to Revise the request or to withdraw it when the absence request is rejected by the approver. When I am executing this the workflow is going into error state. User

  • Wont open the programme ERROR:213:19

    I have just downloaded the Dreamweaver trial and I cannot open the programme, a message comes up saying that there is a problem with the licensing and to quote ERROR: 213: 19, I have tried restarting my laptop and then trying to reopen the programme

  • How to import original clips edited in After Effects into Adobe Premiere, without the After Effects

    What is the quickest and easiest way to bring clips that were edited within after effects into adobe premiere? I just want the original clip as it is cut, without any of the after effects manipulation. I am trying to gather the cuts of a green screen