Apex 4 and BFILE

Hi there
ANypne with a working example of how to show a BFILE ? (pdf, word, jpg etc).
Its not really an option to make a BLOB column, update and show from there,
since it's supposed to be a read(only database with little or no redo etc.
Any ideas?
Mette

Hi,
Only one version of Apex can be available on db instance.
You need second instance for Apex 4
Regards,
Jari

Similar Messages

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • How to automatically login to apex and run a specific page / application

    Hi all.
    I'd like to know if there is a way of automatically login to apex and run a specific page / application. I mean, invoke browser and pass the necessary information to login (not public user) and run a specific application( ina secure way if possible).
    Thanks in advance ...!

    Hi,
    Well, as a very crude test you can set your authentication scheme to be Application Express Authenticationand define some users in Apex. Then create a before header login process on the login page (101) to automatically logon containing:
    apex_authentication.login(
        p_username => :P101_USERNAME,
        p_password => :P101_PASSWORD );
    :P101_PASSWORD := NULL;conditional on P101_PASSWORD is not null.
    Then you can login by specifying your username and password in the URL e.g.
    f?p=YOURAPP:LOGIN:::::P101_USERNAME,P101_PASSWORD:username,password
    Rod West

  • What are variables or parameters in Apex and how to use them?

    Hi
    What are variables or parameters in apex and how to use them to connect and run BI Publisher Report
    From Apex URL

    Hello Kanaiya,
    You should go here: http://www.oracle.com/technology/products/database/application_express/index.html
    Look at "What is Oracle APEX?" then download the documentation and review the various PDF files that are available.
    If you have a version of APEX installed and available, go through the 2-Day Application Express Developer's Guide followed by the Advanced Developer's Guide.
    Good luck,
    Don.

  • APEX and Oracle XE

    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?
    Any help is appreciated,
    Merdad

    Mehrdad wrote:
    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?Yes. Oracle XE is free to use for internal use or use in your products subject to the license terms for Oracle Database Express Edition.
    APEX is a no-cost database option, so if you have a licensed database (including XE), you can use APEX to develop applications. (Note that if XE is upgraded to use the latest version of APEX, some of the built-in GUI database admin features described in the guides will be lost. All admin will then have to be performed using SQL*Plus or SQL Developer.)
    The licensing information covers the features included (and not included) in Oracle XE.
    There's a dedicated {forum:id=251} forum. This is the only channel for XE support as Oracle do not support the product through MOS (even for customers paying for support of other database editions).

  • Oracle apex and extjs grid table

    hi
    im new to extjs and i was wondering if someone can help me with this;
    i want to create a report in oracle apex and put the output in extjs grid table
    for example i want to view the output of select * from all_objects in grid table
    thnx in advance

    Okay
    To get you started...
    Create a new report template with named rows.
    In row 1 template put this
    ["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Assuming you have 8 rows say... and make it conditional based on a PL/SQL Expression like this
    #ROWNUM# = 1Then row 2 template like this
    ,["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Conditional on
    #ROWNUM# > 1Then in before row put this
    <script type="text/javascript">
    Ext.onReady(function(){
    var munkyData = [And after rows something like this (based on the emp table)
    var store = new Ext.data.SimpleStore({
          fields: [
                   {name: 'empno', mapping: '0'},
                   {name: 'ename', mapping: '1'},
                   {name: 'job', mapping: '2'},
                   {name: 'mgr', mapping: '3'},
                   {name: 'hiredate', mapping: '4'},
                   {name: 'sal', mapping: '5'},
                   {name: 'comm', mapping: '6'},
                   {name: 'deptno', mapping: '7'}
    store.loadData(munkyData);
    var grid = new Ext.grid.GridPanel({
           store: store,
           columns: [
                     {id:'empno',header: "Employee",sortable:true, width:100,dataIndex:'empno'},
                     {header: "Name", sortable:true,width:75, dataIndex:'ename'},
                     {header: "Job", sortable:true, dataIndex:'job'},
                     {header: "Manager", sortable:true,width:75, dataIndex:'mgr'},
                     {header: "Hire Date", sortable:true,dataIndex:'hiredate'},
                     {header: "Salary", sortable:true,width:50,dataIndex:'sal'},
                     {header: "Commission", sortable:true,dataIndex:'comm'},
                     {header: "Department", dataIndex:'deptno'}
           stripeRows: true,
           width:700,
           autoHeight:true,
           title:'Array Grid',
           renderTo: 'munkyDiv'
    </script>Then create a region to hold it with a source of
    <div id="munkyDiv>
    </div>
    {code}
    This is pretty basic but it should get you going...
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    +Don't forget to mark replies helpful or correct+ ;)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Differences between Apex and Oracle Answers (being part of OBIEE)?

    Hi!
    A colleague and I just completed a very simple demonstration prototype in Oracle answers consisting of tables (using filters, columns selectors, etc.) to control asset price deviations in fund management. The prototype is based on a star schema with a couple of facts and about 15 dimensions. We made some dashboards using traffic lights as alerts for price tables and designed a couple of data entry forms. The client says that licence costs are not issue (he is a very large banking institute) since he has special licensing agreements with Oracle. However, he wants to know what the main differences between OBIEE's Answers and Apex are. He is about to install Apex and is not sure if he should also introduce OBIEE's Answers. Is there any official Oracle paper comparing Apex and OBIEE's Answers or does someone know the main differences between both products?
    Thanks a lot for your help!!
    Ilias

    Hi,
    Q2). I assume that is something that is not default on Apex when you install it.
    appshosting have e.g. [Apex builder plug in |http://builderplugin.oracleapex.info/] that is not supported by Oracle.
    But I just ques here
    Br,Jari

  • Blobs and bfiles

    i hav tried many examples of blobs and bfiles but without any success.
    when i used bfiles it creates a directory but i cant see the directory in the drive.
    even with blobs i have never been able to insert rows into it. i cannot even use Select * from tablename if it has a blob column
    can somebody help

    The directory is created in the DB and not on your disk
    You should be able to see it with a "select * from all_directories" ( if you have enough
    permisson )
    Then when you try to select all the data of the table that contains BLOB, you can't obtain the result. But you can do :
    select DBMS_LOB.GETLENGTH(name of the column that contains BFILE or BLOBS) from tabel
    You will obtain the size of the file inserted ...
    To see the images, you have to use Dev2k for instance.
    null

  • Apex and Natural Vs Surrogate keys

    Hi
    We've been using Apex for a few months now and there's a debate raging in our department over whether we should design our database tables using natural or surrogate (based on Oracle sequences / triggers) keys. Our experience as Apex developers shows that Apex itself looks to lean towards surrogate keys, a few examples are below:
    - When creating forms on reports / tables Apex only allows 2 primary key columns without adding 'extras' in the background (see a previous post of mine).
    - If we have a form on a table and our natural primary keys can be updated, the Apex-created DML statements break, as they look to do the update using the changed key values in the WHERE clause rather than the old ones. The only way around this seems to be to delete the inbuilt DML statements created by Apex and code your own, which is extra work.
    - The Apex sample applications themselves seem to use sequences / surrogate keys.
    What are people's opinions on this? In particular is there any guidance from the Apex development team on which is best to use with Apex?
    Regards
    Antilles

    Hi Andrew,
    As with abots_d, I only use "natural" keys for lookups.
    >
    1. the department names were here for 20 years and they never changed
    >
    But, can you guarantee that they never will? My firm has changed departmental names so many times, it's getting ridiculous! But other things also change over time - consider what happens if a person gets married and changes their name and you've used their previous names as the keys (and consider how much data in other tables may use those keys).
    >
    2. Server names are uniquely generated by special formula in excel to preciously avoid the duplication problem and guarantee the uniqueness within our glamorous bank.
    >
    SQL could probably recreate that formula and Unique Key constraints would handle the rest
    >
    3. no, we are not going to extend this app to cover any other banks
    >
    Given what's happening with the banking industry right now, who can say ;)
    >
    4. PK that means smth ( aka "server name" ) has a meaning, whereas meaningless - has no (business) value
    >
    Why does a bit of data have to have explicit "business value"? I would suggest that a surrogate key is a pointer to a record and allows you to easily create relationships. Once created, the key would never be changed regardless of what happens to the data on its record. Thus, the relationship is maintained. Using personnel (which our firm renamed as "Human Resources" a while back) as an example, it's likely that every employee would have an employee number. Does this number actually mean anything in itself, does it have "business value"? Most likely, it's just a convenient way to identify a person and relate records to them.
    I would suggest that any non-numeric/date keys are relatively slow. As strings, the only way to check for their sort order would be to (A) convert to upper or lower case and (B) perform a string comparison left-to-right across the entire string. There's also the possibility of certain characters appearing in the strings that can cause issues - for example, quotes, apostrophes, colons, commas, question marks and percentage signs.
    Also, consider the length of a VARCHAR2 that you would have to use - how big would it need to be to cover all possibilities? You may say 20 now but tomorrow you get data with 21 characters in it - do you want to update the table plus all related tables for that?
    There are further issues with parent, child, grand-child etc relationships where the keys would have to be passed down in full through the relationships. Depending on how many levels you may have, a fair number of the fields on the bottom-most table would be there just for the keys.
    It has been a standard industry practice for many years now to "normalise databases" to avoid lots of issues with keys and "repeating data". Apart from very simple lookup tables, I have stuck with those guidelines for years now without any problems at all.
    Andy

  • APEX and BI Publisher - chart not displayed in html

    Hi All,
    I have created a report using BI Publisher and created a report query and uploaded the RTF template into APEX. The report contains a chart then a table.
    When I run the report in HTML format the chart is not rendered, but the table is. The browser seems to show the page as loading for a very long time, but nothing seems to happen.
    If I run the report in PDF the report is rendered correctly. Also in the BI Publisher Word plugin I can preview the report in HTML ok.
    I'm using APEX 3.1.2, BI Publisher 10.1.3.4
    Any ideas?
    Thanks,
    Matt

    Hello,
    Remember that Apex and BI Publisher are different products (they just "play" very nicely together).
    Apex has the possibility to create SVG and Flash charts, SVG charts were great because they were very flexible, however Adobe has announced their discontinued support for the SVG plugin that some browsers need to display the SVG charts.
    So moving forward, use Flash Charts instead, as most browsers already have Flash player plugins installed.
    I'm guessing the reason your SVG chart isn't displaying in the browser is because you haven't installed the SVG plugin in your browser.
    If you have a lot of SVG charts already in your applications, fear not! There is a simple SVG->Flash migration wizard you can use (look on the right hand side of the page when you edit your Chart region, and also in the Shared Components section if you want to migrate a lot of them). If you use these wizards Apex will automagically convert your SVG chart regions to Flash chart regions.
    Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • ApEx and Section 508 compliance

    1. Is ApEx section 508 compliant? </br>
    2. Any documentation available on this topic? </br></br>
    (Section 508: employees with disabilities need to have access to information and data in a manner comparable to the access and use by employees who are not individuals with disabilities) </br></br> Vasan

    Hello,
    1. Is ApEx section 508 compliant? APEX can build 100% 508/DDA compliant applications. What Apex does not do is enforce 508/DDA compliance nor does it automatically insert accessibility features. Tab index's shortcuts to skip navigation , proper headings etc. This is left up to the developer to do so that you can properly address your application and or organizations accessibility requirements.
    One thing that is sometimes a sticking point is APEX's use of javascript. While you can create an APEX application that does not use javascript it has quite limited functionality. APEX does follow Oracle's stance on accessibility and javascript.
    http://www.oracle.com/accessibility/standards.html
    JAWS testing has also taken place with APEX and with properly built applications and the applications work great.
    2. Any documentation available on this topic? Building an accessible application in APEX is exactly like building an accessible application in any HTML environment. Set your tabindex's correctly, make sure data tables have proper headings , make sure that labels are properly linked to form items and such. There used to be a APEX and accisislbuity blog posting but I don't think it's available anymore. Searching this forum will also return you some results.
    Most accessibility issues come from improperly constructed templates, and making sure that page report and label templates have accessible features usually takes care of most issues.
    Our VPAT can be found here http://www.oracle.com/accessibility/templates/t780.htm and is currently being updated to cover all versions up to 3.1 , there have only been minor changes.
    APEX is also going to start taking advantage of ARIA features http://www.w3.org/WAI/intro/aria so that developers can more easily create rich interactive applications that still can use AJAX and other DHTML features. But there is no reason you can't start including ARIA features in your applications today.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Singe Sign On bewteen Apex and JSP Application

    Hi,
    the following problem: We have a Apex and a jsp Webapplication. In Apex we use LDAP Authentication and Role Authorisation. The JSP page also uses LDAP to authenticate users.
    Now there is a request from the Java guys to use one of our pages because they need the information. They will include a link to our page and the user can simple click on it. Parameters are passed as usual using the f?p Syntax.
    But how can we pass the already authenticated user through to the Apex app? Are there any common ways to accomplish this? As both apps are used only inside the company I though of using NTLM but I have never done anything with it. On the basis of your experience how much efford will it be solve it with NTLM? And is it possible?
    Are there other/better recommendations?
    Dim

    Dim - Search this forum for examples of using the NTLM "page sentry". The key is that you need something accessible to your applicaiton's authentication scheme code (the page sentry in particular) from which you can obtain the authentication username (securely). This is usually a cookie, header value, or CGI environment variable.
    Scott

  • Integration Apex and Javascript

    Hi,
    I work with Operational Systems and Oracle Database. In 2007 for particular necessities, I used Oracle Apex and liked a lot of tool. I want to achieve greater potential in my forms using Javascript, but not had success yet.
    Someone of you have didactic models of integration with the library jquery for example?
    Thanks a lot.
    Regis Bavaresco

    Hello Regis,
    >> I want to achieve greater potential in my forms using Javascript, but not had success yet.
    This forum contains tons of stuff regarding JavaScript. Just search for ‘JavaScript’ or ‘AJAX’. A very good example source will be the following, by Carl Backstrom - http://htmldb.oracle.com/pls/otn/f?p=11933:29 . Denes also having a great demo application, containing a lot of examples about using JavaScript with APEX - http://htmldb.oracle.com/pls/otn/f?p=31517:1 .
    >> Someone of you have didactic models of integration with the library jquery for example?
    jQuery will be included in the next version of APEX. It’s a bit premature to expect a didactic models of integration, but the forum also contains several threads regarding jQuey. In addition, the following blog entry, by Tyler, can also help you understand how to work with jQuery - http://tylermuth.wordpress.com/2008/07/16/jquery-datepicker-and-apex/ .
    Regards,
    Arie.

  • Master/Detail/Lookup functionality - ApEx and AJAX vs Oracle Forms

    I'd like to build a master detail form with some lookup functionality and have some of the fields automatically populated. I come from an Oracle Forms and PL/SQL background so I was hoping for some guidance in ApEx and Javascript for how to achieve the same effect.
    If you look at the default Sample Application (DEMO_APP), page 29 has the master record and the corresponding details on the same page.
    The functionality I'd like is:
    1) when a new product is chosen from the Product Name select list, I'd like the Unit Price to be populated.
    2) when the Quantity is updated, I'd like
    a) the Extended Price to be recalculated and
    b) the Order Total to be recalculated
    all before submitting the page. This is pretty trivial in Oracle Forms but I've had limited success with ApEx.
    I've been able to achieve 1) in a single record form but not a tabular form using the techniques from Scott's AJAX generator http://htmldb.oracle.com/pls/otn/f?p=33867:2.
    I've been able to achieve 2a) in a tabular form using the techniques from Vikas in this thread Tabular form with Ajax
    I haven't had any luck getting 2b) to work.
    So, is my wish list possible?
    If it is, I'd appreciate some pointers and/or code. I don't speak Javascript but I can copy and paste ;)
    Cheers,
    Bryan.

    Hi Carl,
    Ok, thanks for the tip - take a look at http://htmldb.oracle.com/pls/otn/f?p=24745 login as demo/demo and edit one of the top orders. This will take you to page 29.
    I've changed the 2.0 Sample Application to allow both the unit_price and the quantity to be overtyped. Each column has the 'Element Attributes' property set to onChange="calcTotal(this)" to call the javascript code.
    This recalculates the extended_price (feature 2a above) but the order total (or the report total) is not affected (feature 2b) - how can I change the code to achieve this?
    If I change an existing line item and choose another product from the select list, I'd like the unit_price and the extended_price to change appropriately (feature 1 above) - having to wait until after the form is submitted is not acceptable to my users.
    Thanks for taking the time to look at this - I really appreciate it.
    Cheers,
    Bryan.

  • Apex and the Oracle Change Management Pack

    Hi everyone
    I'm looking for some feedback from anyone that has used the Oracle Change Management Pack (CMP) with an Apex development (or is it really only for Oracle Apps)?
    Could the CMP be used against the APEX_04000 schema to sync a Dev environment with Test and Production? If so, this would nicely lead into an Agile approach to development, even perhaps Continuous Deployment :)
    I'm concerned that I can't find anything on the web about Apex and the CMP, so I suspect it can't be done :(
    Any comments gratefully recieved.
    Shunt

    You are going to have to provide a lot more information for anyone to help you from the basic ... like in what version ... to the specific ... what functionality do you want?
    In general none of the "packs" run any code not in the database in the form of built-in packages. For example much of the functionality of OEM Grid is implenented in DBMS_ADVISOR, DBMS_MONITOR, DBMS_SERVER_ALERT, etc.
    But without specific questions no specific answer is possible.
    You can find demos of the above referenced packages here:
    http://www.morganslibrary.org/library.html

Maybe you are looking for