Opening of the BLOBs icon interactive report mode

Hello

My goal is to open a PDF file from the icon display in an IR in a new tab.

Examine IMAGES of the table with a column PK of IMAGE_ID and IMAGE blob, storage of PDF files (say no more...)

I have success with standard IR display using a column defined as
dbms_lob.getlength(i.image)
with this column format, it opens the file in the same browser tab
DOWNLOAD:IMAGES:IMAGE:IMAGE_ID::IMAGE_TYPE:FILENAME:::Inline:Download
I also have success with icon with link from column view
apex_util.get_blob_file_src('P54_IMAGE',i.image_id) icon_link
who download the file available for the view with the external pdf viewer

What I was not able to do this is either a link (even if I don't know a command of jQuery on the page load could add this as an attribute)
target="_blank" 
(It works the way you want when I change the page line with chrome)

Nor have I been able to define the display of the icon in order to use the blob format mask so the browser controls the display.
If I set the link with a format mask column, all I get is "no data found" in the State in mode icon.

If anyone can help?

See you soon,.

Scott

Scott,

There is a small error in the API call or passing the parameter in 3rd 4th

Just inspected the icon_link url and seems like inline is passed in p_v2 (pk2)

http://apex.oracle.com/pls/apex/apex_util.get_blob_file?a=57212&s=104709453014472&p=2&d=18351793816711881878
&i=18351792111493881876&p_pk1=1&p_pk2=inline&p_ck=867E466418BCBA74D5FBE8CA9423B660

//change your api call to pass a null value to p_v2 param becuase you don't have primary key 2
apex_util.get_blob_file_src('P2_IMAGE',i.image_id,null, 'inline') icon_link

Tags: Database

Similar Questions

  • Updated 2011 MacBook Pro at El Capitan 10.11.4. At the opening of the Photos, he entered into mode 'Library Preparation', but was stuck at 50% complete for more than 30 minutes. What should I do?

    Updated 2011 MacBook Pro at El Capitan 10.11.4. At the opening of the Photos, he entered into mode 'Library Preparation', but was stuck at 50% complete for more than 30 minutes. What should I do?

    Give it time - it may take a few hours depending on the size of your library is

    LN

  • Add columns in the area of interactive reports

    Hello Experts,

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    Please help me...



    Thank you

    Xandot wrote:

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    After adding new columns to existing NPA, you must select them for display as developer and Save the new report as the default main.

    Please see the documentation for interactive report.

  • How to move the form of interactive report on the left side to the right?

    the Apex 4:
    I write application in Hebrew, so I need to put in the page template dir = "RTL".
    all report and button and point moving to the right, but
    the stay of interactive report on the left side of the page (instead of right).

    Does anyone have an idea how to change the location?

    Thank you
    Return on investment

    Hello

    For the research on the copy of the side section right hand following the report in your HTML page header is on.

    
    

    Graham

  • Using elements of the application of interactive report filters

    Hello

    Can we use elements of application in interactive report filters? If so, how?

    Thank you
    Machaan

    Take a look at the creation of a link to the section of interactive reports in the Application Guide of the user for example generator

    This example binds, resets and clears the saved report parameters 12345. It also creates an ENAME = 'KING' filter on saved report 12345.

    f? p = 100: 1: & SESSION. : I have R_REPORT_12345::RIR, CIR::RIR, CIR:IR_ENAME:KING

    If you have an element of the application P1_ENAME the following apply to the example above

    f? p = 100: 1: & SESSION. : I have R_REPORT_12345::RIR, CIR::RIR, CIR:IR_ENAME: & P1_ENAME.

    If you want a permament for all filter saved reports on the value of point of application, it is best to use the: APP_ITEM_NAME bind variables in your SQL syntax, it really depends on how you define the value of your item and how you interact with it. AFAIK does not request point directly bind variables syntax in the filters, IR etc...

  • Office randomly freezes, can't open all the desktop icons

    Original title: desktop windows 7

    Windows 7 64-bit. Office randomly freezes cannot open all the icons of the Office dies just.

    I need to restart the pc to make it work again thanks for any help you guys can come up with.

    Jim.

    Jim

    In Windows 7, use Ctrl + Shift + Esc instead of Ctrl + Alt + Delete. It lets you in the Manager of tasks more quickly. Select Task Manager, performance, resource monitor tab and tab memory. What are the numbers for reserved equipment, in use, modification, sleep and free?

    Is your Windows 7 32-bit or 64-bit? The amount of RAM is installed?

    Restart your computer and wait 30 minutes for the system to operate before you download information. When the review much, not Event Viewer log files all problems show in the period immediately after the computer has booted.

    Please provide a copy of your system information file. Type the system information in the search box above the Start button and press the ENTER key (alternative is select Start, all programs, accessories, System Tools, system information). Select file, Export and give the file a name noting where it is located. Not to place the cursor in the body of the report before exporting the file. The system creates a new information file system each time system information is available. You must allow a minute or two before the file is completely filled before exporting a copy. Please download the file to your OneDrive, to share with everyone and post a link here. Normal mode preferred report. Please say if the report was obtained in safe mode. If the report is in one language other than English, please indicate the language.

    Please download and share with everyone a new copy of your log System of your event viewer on your disc one and post a link here. It allows to avoid confusion if you delete all previous copies of the log files of your OneDrive.

    To access the system, log, select Start, Control Panel, administrative tools, Event Viewer, in the list on the left of the window, expand Windows logs and select System. Place the cursor on the system, select the Action in the Menu and record all events like (the evtx default file type) and give a name to the file. Do not offer not filtered files. Do not place the cursor in the list of reports before selecting the Action from the menu. Do not clear the logs so that you have a persistent problem.

    For assistance OneDrive see paragraph 9.3:
    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

  • Firefox does not open from the desktop icons

    Hi guys: were adware problem by resetting firefox market and stop for 12 months. Now I virtue open in the... Task Manager shortcut icons / start bar will not work. Any advice much appreciated

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Do we not have option to deselect ascendant and descendant of the options in interactive reports 4.2

    Hi all

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    Version 4.2 of the apex

    Theme-Light blue-100

    Kind regards

    Sruthitamiri.

    Sruthi Tamiri wrote:

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    The option is in the Actions of IR menu. Go to Actions > Format > sorting and deselect the current sort columns by setting - Select the column - column .

  • Error in the export of interactive report in PDF format

    Hello

    I use the APEX and an interactive report, trying to export using download | PDF format. The table and the corresponding report includes only text fields. Database character set is UTF-8. So far I have not been able to get a PDF file that can be opened in Adobe Acrobat Reader. Each file fails with message as "Adobe Reader could not open nomdefichier.pdf, because it is not a supported file type or because the file has been damaged (for example, it was sent as an attachment to e-mail and has not been correctly decoded). This happens for every report I've tried so far. If I export the report to CSV format, all are ok.

    Y at - it a bug known with download PDF of APEX?

    TIA

    Do you have a printer (Bi Publisher or FOP/Cocoon) server configuration? If not, then you will NOT be able to generate a PDF file...

    Thank you

    Tony Miller
    Webster, TX

  • I click on "Write" but the mail does not open outside the widow icon on the taskbar.

    Thunderbird Version 31.0 worked fine then suddenly every time I click on 'write' or 'response' nothing opens but the icon on the toolbar. I can still receive emails and open them, but I can't write or send emails. I rebooted Thunderbird but it stays the same. What should I do to return to normal service?

    Which; new good s.
    now, you have to restart thunderbird, then go to tools > Addons
    Clear all the addons, and then activate one at a time to see if the error occurs. This will tell you which add-on is causing the problem.

    Maybe the addon should update.

  • Problem with the cascading for interactive report selection list

    Hi all.

    I'm trying to implement the solution of cascading to the tabular presentation list.

    https://Apex.Oracle.com/pls/Apex/f?p=31517:176:103661090335568:

    But instead of the form of paintings, I use interactive report. After executing the query, I get the error:

    ORA-06550: line 1, column 147: PL/SQL: ORA-00936: lack of expression ORA-06550: line 1, column 13: PL/SQL: statement ignored


    My Sql query for the report:

    select 
    apex_item.hidden(1, a."DATA_ID")DATA_ID,
    apex_item.select_list_from_query(10,
      b.WAVE_GROUP,
     'select GROUP_DISPLAY, GROUP_RETURN from dwd_wave_group',
     'onchange="f_set_casc_sel_list_item(this,f11_'||LPAD (a.DATA_ID, 4,'0')||')"',
     'YES',
     '',
     '- Select Group -',
     'f10_' || LPAD (a.DATA_ID, 4, '0'),
      NULL,
     'NO'
     )WAVE_GROUP,
    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    ||'username r FROM dwd_user where groups = '||b."WAVE_GROUP",
    '',
    'YES',
    '', 
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
     NULL,
    'NO'
    )WAVE_USER
    from "DWD_WAVE_MASTER" a, dwd_wave_assignment b
    where a.data_id = b.data_id
    and b.wave_id = 'wave_1'
    

    If I exclude the condition 2nd selection list query and change as below then everything works fine. Query does not give error on sql developer.

    Use: APEX 4.2.6 with Database 11g.

    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    ||'username r FROM dwd_user',
    '',
    'YES',
    '', 
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
     NULL,
    'NO'
    )
    

    Can someone please help!

    Thank you

    Nabila

    The nabila Islam wrote:

    I'm trying to implement the solution of cascading to the tabular presentation list.

    https://Apex.Oracle.com/pls/Apex/f?p=31517:176:103661090335568:

    But instead of the form of paintings, I use interactive report. After executing the query, I get the error:

    ORA-06550: line 1, column 147: PL/SQL: ORA-00936: lack of expression ORA-06550: line 1, column 13: PL/SQL: statement ignored

    My Sql query for the report:

    1. Select
    2. apex_item. Hidden (' 1, a. "DATA_ID DATA_ID").
    3. apex_item.select_list_from_query (10,
    4. b.WAVE_GROUP,
    5. "select GROUP_DISPLAY, GROUP_RETURN from dwd_wave_group,"
    6. "onchange =" f_set_casc_sel_list_item (this, f11_'|) LPAD (a.DATA_ID, 4, '0'). ") » ',
    7. '' YES. ''
    8. '',
    9. -Select Group «-»,
    10. "f10_" | LPAD (a.DATA_ID, 4, '0'),
    11. NULL,
    12. 'NO '.
    13. ) WAVE_GROUP,.
    14. apex_item.select_list_from_query ("11, b.") WAVE_USER,"
    15. "SELECT user name d.
    16. |' username r FROM dwd_user where group = ' | b."WAVE_GROUP."
    17. '',
    18. '' YES. ''
    19. '',
    20. "- Select user -",
    21. "f11_" | LPAD (a.DATA_ID, 4, '0'),
    22. NULL,
    23. 'NO '.
    24. ) WAVE_USER
    25. of 'DWD_WAVE_MASTER' a, b dwd_wave_assignment
    26. where a.data_id = b.data_id
    27. and b.wave_id = 'wave_1. '

    If I exclude the condition 2nd selection list query and change as below then everything works fine. Query does not give error on sql developer.

    Use: APEX 4.2.6 with Database 11g.

    1. apex_item.select_list_from_query ("11, b.") WAVE_USER,"
    2. "SELECT user name d.
    3. |' username r FROM dwd_user ",
    4. '',
    5. '' YES. ''
    6. '',
    7. "- Select user -",
    8. "f11_" | LPAD (a.DATA_ID, 4, '0'),
    9. NULL,
    10. 'NO '.
    11. )

    What is the data type of DWD_WAVE_ASSIGNMENT. WAVE_GROUP? If it is not a number, then it must be enclosed in quotes when it is used as a literal:

    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    
    ||'username r FROM dwd_user where groups = ' || dbms_assert.enquote_literal(b."WAVE_GROUP"),  
    
    '',
    'YES',
    '',
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
    NULL,
    'NO'
    )
    
  • Effect of Zebra in the rows of interactive report

    Hello, I have a question about the interactive report. Is it possible to put lines in the display of the report with zebra effect. I know that highlight line will bring closer the colors in the rows. But I need color alternating lines with no strings attached. Help, please!

    Thanks in advance.

    Emilie S

    Sinduja Sivasailam wrote:

    I am attaching the CSS file for the cat. I'm not sure where to add in the CSS file. Can you help me with this.

    And I'm not quite sure what you're talking about now. What joint? Where?

    Add these rules at the end of the custom style sheet/c/cummins/cummins_oracle_apex.css

    /*
      Zebra stripe effect on interactive report rows.
    */
    #apexir_DATA_PANEL>table .apexir_WORKSHEET_DATA tbody tr:nth-child(even) td {
      background: #ffffff;
    }
    #apexir_DATA_PANEL>table .apexir_WORKSHEET_DATA tbody tr:nth-child(odd)  td {
      background: #f8f8f8;
    }
    
  • How it is possible to create the chekbox in interactive report column header and select all the features.

    Hello

    My requirement is

    Interactive report the first element of box check columns and the topic also point check box.

    If I click on the element of box section columns and then automatically select all the lines in the box.

    Select all / deselect all interactive report header check box.

    Kind regards

    Arianne.

    Check this box

    https://Apex.Oracle.com/pls/Apex/f?p=76604:2:111027941779152:

    username:-test

    password:-test

    SELECT

    APEX_ITEM. HIDDEN (2, null, null, 'f02_': rownum) |

    APEX_ITEM. CHECKBOX2 (P_IDX-ONLINE 01,

    P_VALUE-online null,

    P_ATTRIBUTES-online null,

    P_CHECKED_VALUES => NULL,

    P_CHECKED_VALUES_DELIMITER => ':',

    P_ITEM_ID-online 'f01_ ' | ROWNUM,

    P_ITEM_LABEL => ' label for f01_ #ROWNUM # ')

    as Delete1,.

    of the double

    Choose the column type: report

    in the heading of column delete1

    Simply put

  • Horizontal scroll bar in the model of interactive report region 5 Apex (universal theme)

    Hello

    We have migrated our application from 4.2 (theme: 21 scarlet) to 5.0 (changed to universal theme). Most of our reports are interactive reports and have more than 20 columns to display in the reports. 4.2 in the 'Region of report"model horizontal scroll bar came from bottom of page like below and has been easy for the user to scroll through the options to the right and see all the columns.

    Apex4.2.PNG

    In the universal theme apex 5 with 'interactive report' model in order to see the columns on the far right in the first lines user must scroll the vertical bar first, then scroll horizontal straight bar and vertical bar to go to the top


    Apex5.PNG


    How can you have the scroll as in 4.2 bar region of report model. I think that we need to make some changes in CSS and also need to copy the existing model and make changes and use this model in all reports.


    Thank you.

    RAM


    Hi Tim,.

    Thanks for the reply. I tried this option before posting forum. It did not work. Now, after changing position attribute fixed to the ' Page "(or region) in the report attributes section it works." " When we migrated the app at UT, he has been on 'None '. Problem solved now. Thank you.

  • Call the procedure to set the context before interactive report refreshes the data

    Hi guys,.

    I have a question mind an interactive report which takes the data in a view.

    The problem is that whenever I take the data from the database I need to define a context (user name and password) before running the query so the view will be taken into account the context and return only the lines that I have access.

    Everything works fine when I'm first loading of the page: I have first to define the context, then load all the data I need on the page, including the IR. But when I try to apply IR filters, or even don't go to the next page no data is returned. I believe this happens because the context is not defined before the execution of the query to load the data and I don't seem to find a way to put it.

    I tried to add a dynamic action on some events on IR (change, clicking, etc.) that executes the procedure to set the context, but without success - even if the event is raised, the report still doesn't return any data.

    Can someone help me with this issue please?

    Florin

    Use the attributes of application security Code PL/SQL of the initialization/cleanup of the database Session to do this: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldr_attr.htm#HTMDB28929

Maybe you are looking for

  • Still, it is impossible to move the folder of drive iCloud on another drive?

    I'm looking to free up disk space where the operating system is located. I have an external hard drive with alarge amount of free space that I prefer to use the location iCloud against my SSD drive that on the space due to data 'stored' in the iCloud

  • How to apply the transfer of applications to different screens

    I have two screens and I assigned some applications on the desktop on the screen 2, using the option tag. However, when the computer starts all open applications on the screen 1. How can I fix it?

  • Satellite C660 - cannot save it

    Hi all I buy my Toshiba Laptop 4 days ago, now when I register my product it shows: Sorry!There is no such thing as a serial number. Click here to contact your local Toshiba Support Center for assistance. But what direction even series number in the

  • Can I install XP on Equium A200?

    Hello I have a laptop Equium A200-1v0 currently under Vista Home Premium, my question is... Can I install Windows XP Home Edition on the laptop?My only concern are drivers etc... Thank you

  • Qosmio G30-201 HD DVD "Impossible to the release of the video on a device ext.

    HelloContinues to have problems reading of a HD DVD on my Qosmio, using the reader of HD DVD from Toshiba running Vista UltimateGetting two messages: "Unable to output the video to an external device. Pls change your display device by pressing end +