apex_util.get_blob_file_src ('P21_PHOTO', c.resource_id) public Page

Hello

I have a region of the page that is based on pl/sql. This region is actually the recovery picture stored in the table as a BLOB.
Now, when the user has not logged on the photo does not appear, but if the user then connects the photo appears.
Could you please help me understand what is happening?

My setup is as follows
Version: APEX 4.2
OS: Windows Server 2008 R2
DB: 11G XE
Web tier: Apex listener with Glassfish Server Open Source Edition 3.1.2 run behind apache

Thank you
Mehabub

Sheikh Mehabub wrote:
I solved this problem, but this isn't what I wanted.
In fact, I show that is Public image (X) page and there is a page (Y) where the images are downloaded. This page is was not public.
In the public page of picture show I mentioned the question of the download page page (Y) and that's why the image was not be displayed.
So what I did - make page load as public page also.

But it is a breach of security because anyone can then manipulate the data, if I can avoid unwanted manipulation of data by creating some process. Certainly, this increases the coding effort.

Are there other ways?

See Patrick of the post that a solution here: + {message identifier: = 10183115} +.

Tags: Database

Similar Questions

  • Display image in a classic report on a public page

    Hello

    I developed a public page where I want the list of items from a view. It must be a classic report because of the template I want to use later.

    The query is executed with the typical HTML structure:

    Select "ARTI_ID."

    "ARTI_BESCHREIBUNG,"

    "ARTI_PREIS,"

    "ARTI_PORTO,"

    decode (nvl (dbms_lob.getlength ("ARTI_BILD"), 0), 0, null,)

    "< img style =" border: 4px solid #CCC; " -moz-border-radius: 4px; -webkit - border-radius: 4px; » '||

    "src =" "| apex_util.get_blob_file_src ('P3_ARTI_BILD', "ARTI_ID") |' "height ="75"width ="75"alt ="Bild"title ="Bild"/ >") "ARTI_BILD" "

    of ' #OWNER # '. " TRAN_ALLE_ARTIKEL_V ".

    WHERE 'ARTI_IST_GUELTIG '=' J '.

    I used this query in an interactive report without problem on a page with authentication. Of course, I edited the page ID in the P3_ARTI_BILD element

    Now, how can I manage it works?

    The application runs on apex.oracle.com over 5 APEX.

    Greetings

    Steven

    He solved. Still don't know what the error was, but everything works fine. This link helped me: Re: Confusion with get_blob_file_src

  • PDF viewing with apex_util.get_blob_file_src works only with 4.0

    I'm in the process of upgrading an application (3.2) 4.0 - 11.2 database. I noticed that the PDF online viewing has stopped working. It was generated by the PL/SQL process below. In 4.0, it displays nothing in the area of the page. Someone at - it ideas (or any better suggestions on how to display embedded PDF files)?


    HTP. PRN (')
    < div style = "" >
    "< embed height ="600"width ="800"name ="embed_content"src =" ' | apex_util.get_blob_file_src ('P5_BLOB_CONTENT',: P5_FILEID).
    "" type = "application/pdf" / > "
    < / div >
    ');

    Thank you

    Simon

    Hi Simon,.

    is it possible, that the "Source value or the expression" article hidden page that contains your BLOB column name contains colon as well? If you really followed Astrid blog I would think that it contains a colon in the value. Please delete everything except the name of the BLOB column.

    Because you used a hidden field and not a "Browse file" with a status of 'Never', the value of the "Source value or the expression" has not been migrated to the new syntax of the type 'File browse' point that does not separate the colon syntax more.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • public page is not available to the public - access instead of the error.

    I have a work request. actually, I have the same copy of the work plan WITH SSO application and the other using the scheme of authentication and authorization of apex. Both work very well. With the exception of the logout page. I create a page(#62), without tab. Just a simple HTML form that has a disconnect message. I do the authentication of the page the value "Page is public" and save. I did this (try to diag) in two of these applications and in 2 different installations of the apex.

    However, when I'm not connected in the app, and I'm on this page, I get an "error: access denied by Application security control" message.

    I'm just trying to go to the URL http://xxxxxxx:8090/apex/f direct? p = 110:62:0:, or just http://xxxxxxx:8090/apex/f? p = 110:62 (page 62 is the page I created and defined as public.)

    It is in the apex 4.1.1. I think it should be very obvious as to why it does not, however, I'm puzzled.

    Thanks in advance.

    Hey 12602240 - the problem I think you touch is not at the level of the page but on your level of app. If you go to the properties of the application, it seems that you have a system of authorisation required at the level of the app. If the page you are trying to do is after they log out, you may need to allow ANYONE to access your application to get the public pages (or take off clearance at the level of the app).

    Rgds/Mark M.

  • public page with "connect" button

    Hi all

    I created an authentication scheme that is customized in my app that works very well (when I navigate to the login page and submit my login and my password, I can see a text "Welcome TDUIN (logout)" at the top right of a page). When I navigate to a page public when not connected to this place there is a text "logout". Is it possible to change this to a text "identifier" on a public page available with a link to the page of connection and then, being connected, it says 'Welcome TDUIN (logout)'?

    I tried searching how do on the forum, but couldn't find how do. Can someone help me? I'm on 4.0.2 Apex.

    Hi Tom (?)
    The "Logout" link, you mentioned is usually a navigation bar entry.

    You will find all entries in the Navigation bar to "* components shared-> entries * Navigation bar.

  • Inorder to get what you asked for, you can condition the entry of the navigation bar to "Disconnect", choose "* the user is authenticated *" option for that.
  • Create a new Navigation entry (or copy the entry Logout and edit the new it) with a label "Login" and leave the point of URL link to the Login Page. Subordinate this entry too with option as ' * user is the user Public. " Then one of these entries appear at the same time as the terms are mutually exclusive.

    Hope that was clear enough.

  • Session 0 (zero) and public pages

    Hi gurus of the APEX.

    I have some difficulties with public pages and the session 0, in combination with tabs.
    The problem occurs when I click on some of my tabs. For some reason any session 0 is replaced by the id of the session itself. This only happens for some tabs. When I go back to the previous tab, session 0 I I return the URL...

    I tried to reproduce this problem in a new application, but I am not able to reproduse this behavior :(

    I use APEX version 3.2.1.00.12 and I use only one level of tabs.

    Can anyone give me a tip or an idea how I can debug this problem?


    Best regards
    Trond

    you need to 'engineer' a little your tabs and pages:

    <a href="f?p=APP_ALIAS:#TAB_NAME#:0" class="current" title="#TAB_LABEL#" #TAB_INLINE_EDIT#>#TAB_LABEL#</a>
    

    Tab names must match alias of page otherwise it will not work.

    Flavio

    ------
    http://oraclequirks.blogspot.com

    Published by: flavioc on March 12, 2010 14:39

  • strange behivor on public pages with automatically filled the field

    Hello

    I created a page (APEX 3.0) where I have two field, name/wwid, name is a LOV, when I choose the LOV NAME, the page is automatically populated with wwid field, I followed this thread (used AJAX...) and it works fine as LONG AS I'm not the public page, but when I make it PUBLIC, it no longer works, the field wwid always returns null it

    Re: AutoFill fields

    Does anyone have a similar experience or ideas/suggestions?


    Thanks in advance

    Mike

    Of course

    In your javascript, you have something like this:

    get var = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);

    The value 0 is the page number. You can edit your public page, and then it would be pointless to have a public page 0.

    Try and tell me if it worked.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Publish webservice on a public page LV

    Does anyone have an idea on how to publish a web service to the public, a Web page not only an ip address on the same network.

    Let me give you some background, I am developing an Application that includes a web service that will publish a picture of façade to a stand-alone web site.  I have done web service and will include the example OR that it has been made from in attachments. What I want is to be able to see outside my network.   I have a dns address and my router is configured to forward from a certain ip address, for the purpose of the present discussion allows you to call this address 127.10.10.5, the domain name.  I don't know if it is possible to make this native for LabVIEW, but I'm in the island that is.

    Does anyone know the next step?

    Mark R.

    Thanks for the reply guys the solution can be found in the Web Development Forum.

    https://decibel.NI.com/content/thread/36546?TSTART=0

    I thank you,

    Mark R.

  • Public page

    Hello

    I would like to have a page that is available for anyone to see, without having to connect. A bit like the page of connection itself.
    Whenever I try to access this page, Apex redirects me first of all to the login page.

    Is there a way I can make this accessible to any page without logging in?

    PJR wrote:

    I would like to have a page that is available for anyone to see, without having to connect. A bit like the page of connection itself.
    Whenever I try to access this page, Apex redirects me first of all to the login page.

    Is there a way I can make this accessible to any page without logging in?

    In the page attributes under the Securityheading, set page authentication Page is Public.

  • Problem of sorting for the report public pages

    Hello

    Recently, I ve met a strange behavior with a standard sql, in a page (unauthenticated) report "public":
    When a sorted user report on one of the columns, all other users got their report sorted on this column even.

    I have reproduced this situation several times (including the http://apex.oracle.com):

    1 to the sample application to create a new blank page without tab.
    2. edit this page and add a sql report region, using the "standard" model
    For this purpose, a query that returns the columns 3 or 4 of the customer table will be enough.
    Make sure that the sorting is available on several columns.
    3. edit the properties page and in the section security value "Authentication" "Page is Public" and run the page.
    4. on another browser go directly to the page.
    5. back on the browser where you were 'edition' click on one of the columns to sort.
    6 refresh the second browser and the sorting is now the same as in the first.

    You can verify this behavior in http://apex.oracle.com/pls/apex/f?p=19369:10

    I'm doing something wrong on the construction of the application/page/report?

    Thanks in advance,
    José Miguel Carvalho

    If you have access to my workspace, you can check out this application:

    http://Apex.Oracle.com/pls/OTN/f?p=22010:1

    It acts as a consumer application (no login required), and you can sort your report using different browsers without losing the settings for the session.

    The only important thing is the 101 page.

    If you do not have access to the workspace, see this page for more information:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:1

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • is it possible to have a public page with optional authentication?

    I want to have an application that will advise users to access all the pages, without the user having to connect. On its own, I know how to do this. However, I also want to give the user the ability to perform specific actions, if they authenticate themselves. The feature I'm after is very similar to this forum, the public can read all discussions, but to post you need to connect.

    This kind of thing is possible in the APEX, if so, how can this be?

    Craig

    [http://www.oracleapplicationexpress.com]

    Craig,

    It is quite possible and very easy to do.

    One of the conditions as the APEX supplies is "the user is authenticated (not public). You can use this condition on the buttons, the elements, the regions and the process which will require a user to be authenticated to your application. There is also the opposite condition, if you want to display items or areas that will be displayed to unauthenticated users.

    Thank you

    -Scott-

    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • my name is incorrect on the theme public page

    Screen Shot 2015-06-28 at 5.07.35 PM.png

    I need a back-end tech to correct my name in my account if the themes I create will show my name - not my husband. I changed the name to our account in her name to mine, but his name still appears in color. Need the records to be updated. Thank you.

    Hello Deborah,.

    Please send an email to [email protected] sure to include the e-mail address and the user name that you want to implement.

    Kind regards

    Neha

  • Exhibitor (or) OBIEE embedded report in Web Public page

    Hi gurus,

    I got a new requirement to expose the OBIEE dashboard as below

    Oracle Business Intelligence

    Please guide me where I should start... Etc.

    Thank you

    V

    Twist the bottom one or well you can go for more user details incorporated in the above form

    cool - bi.com

  • LOV cascading works not when the page is public

    Hello

    I have a LOV cascading in a tabular form that I built example Denes Kubicek
    http://Apex.Oracle.com/pls/OTN/f?p=31517:176:2702932664861989:

    Thanks to this wonderful examle, I could make my lov cascading.

    However when I do the public page, the second lov (which is based on the first) does not work.

    Inorder to debug I changed to get.get () get.get ('XML') and put an alert on it; to check if the string of the selection list is correctly returned by the application process - it returns null. The alert even returns the string from the selection list when I set the authentication on the page.

    Also I noticed that when the page is public the application (TAB_CASCADING_ITEM) item is not be filled with the value of the first selection list.
    No matter who has encountered the same problem?
    Appreciate any suggestions?

    Thank you
    Dippy

    One of the parameters in the htmldb_get is the page on which the process is running. You should change this to the current page or make public page 0 as well.

  • Interactive report with display of the icon to set the page element

    Hi all

    I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.

    I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.

    My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.

    Any help is appreciated, thanks.

    Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?

    For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:

    ORA-01427: einreihig subquery returns multiple rows

    I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:

    with icon_tree as (
          select
              ic.id_icon
            , ic.icon_name
            , ic.link_name
            , nullif(connect_by_isleaf, 1) is_parent
            , level depth
          from
              icons ic
                connect by
                    prior ic.link_name = ic.id_parent
                start with
                    ic.id_parent is null)
    select
        id_icon
      , icon_name
      , link_name
      , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src
      , nvl2(is_parent, '586', link_name) target
      , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item
      , nvl2(is_parent, link_name, null) parent_id
      , :app_id app_id
      , :app_session app_session
      , :debug debug
    from
        icon_tree
    where
        depth = 1
    

    In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:

    
      
      
    #ICON_NAME#

    Public static ID icons and results are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.

    Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the data-parent-id attribute has a value):

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])

    Real Actions

    Seq: 10

    Action: Delete the class

    Class:selected

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a

    Seq: 20

    Action: Add the class

    Class:selected

    Selection type: trigger element

    Seq: 30

    Action: Set value

    Wait for result: Yes

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).attr('data-parent-id')

    Selection type: Agenda

    Point: P586_ID_PARENT

    Seq: 40

    Action: Discount

    Selection type: Region

    Region: results

    Seq:50

    Action: Show

    Selection type: Region

    Region: results

    Seq: 60

    Action: Cancel event

    Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:

    #results {
      display: none;
    }
    #icons .apexir_WORKSHEET_ICONS a {
      border: 1px solid transparent;
      border-radius: 3px;
      padding: 0.8em 0 0.5em;
    }
      #icons .apexir_WORKSHEET_ICONS a.selected {
        border-color: #6a9cda;
        background-color: #bbd1ec;
        transition: 0.6s;
      }
    

    However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?

Maybe you are looking for

  • HP mini 110-1116nr: hp mini 110 system

    A co-worker of mine asked if I would be able to upgrade their hard drive and ram in their HP Mini 110... so, I did.  After the installation of the new (is increased from 1 GB of ram, 2 GB of ram... went from 160 GB hard drive on a hard disk of 500 GB

  • Cannot receive or send messages using Android.

    I own a laptop and an Android, with Skype, the laptop works Skype perfectly without any problems so far, but the messaging feature in the Skype app on my phone seems to have stopped working together, as when I send a message using my phone, it appear

  • How can I get a new version of Windows Update in English (United States)?

    I tried 4 times to change the language on Windows Update. I need a link for Windows Update in English (United States)? I tried Microsoft Support chat and followed all the instructions on changing the settings in the Tools menu in Internet Explorer. N

  • HP Officejet 4500: Unable to connect printer

    I had installed on my laptop HP Office 4500 G510n-z wireless, but now I have a new laptop with Windows 8.1. The installation CD does not work on Windows 8.1, so what follows, I downloaded from the HP website: "HP Officejet Full Feature Software and D

  • Windows not genuine message

    Recently, I had to replace my hard drive and reconfigured on my computer from a backup file.  Now that I got the "Windows is not genuine message.  He only came once so far.  I do?