Oracle APEX - How to Create a File Preview Functionality

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 55

  • @mohamedsameer3549
    @mohamedsameer3549 2 ปีที่แล้ว +3

    Great thanks for this tutorial. Can you please make a video for PDF report generation based on sql query and custom template without any reporting tools. Mainly the file should be downloaded or send as an email attachment.

  • @pvrmsc
    @pvrmsc ปีที่แล้ว +1

    Great... thanks a lot for your tutorial, After uploading the completed file in my workspace and trying to run and enter the user name and password it's not allowing please can you check.

  • @md.manjurmurshed6850
    @md.manjurmurshed6850 ปีที่แล้ว

    Good Job carry on..I am waiting for the next tutorial

  • @youshark7
    @youshark7 2 ปีที่แล้ว

    Thank you,
    you are amazing.
    Life is Good with YOU.

  • @fdellipriscoli
    @fdellipriscoli ปีที่แล้ว

    great tutorial I will try it on my workspace and use it for my daily work. Thanks!!!

  • @jontrostheim
    @jontrostheim 2 ปีที่แล้ว

    Thank you so much for very nice and good work, very useful :-) many thanks :-)

  • @skamransajjad7
    @skamransajjad7 ปีที่แล้ว +1

    Can you change the resolution of your videos? the fonts are so small to read, especially for me with weak rear eyesight.

  • @wizzeico4589
    @wizzeico4589 2 ปีที่แล้ว

    amazing video , thanks for that. keep going

  • @jporrata01
    @jporrata01 ปีที่แล้ว

    Hi Magaly, Nice tutorial, However am having problem with calling the add image modal page and getting back to the normal page. When I refresh the report the preview button does not work at all. I need to submit the page in order for the button to work again. Am I missing something? Thanks for any help you can give on this.

  • @xoldmanit8297
    @xoldmanit8297 4 หลายเดือนก่อน +2

    Hello, I saw the file preview video, it was very good and useful, I have two questions
    First, can this method be used to preview Windows office files?
    Second, is it possible to open and edit the file with Office and save it in Blob?

    • @TheCoderGal
      @TheCoderGal  5 วันที่ผ่านมา

      Hi there, unfortunately no, this approach is only for types that are supported by the object html element

  • @mitrutene
    @mitrutene ปีที่แล้ว

    Hi. Where can I find the CSS for your defined classes?

  • @rmathew66
    @rmathew66 10 หลายเดือนก่อน

    if multiple files attached, using Preview region with Inline-Dialog template is not opening respective attached files. It opens the previous attached file. Instead of Inline-Dialog, if used other templates then it opens respective attached files. Any solution?

  • @juancarlosarce63
    @juancarlosarce63 5 หลายเดือนก่อน

    can you help me? (It doesn't work when previewing pdf documents when installed as PWA) Any solution?

  • @skamransajjad7
    @skamransajjad7 ปีที่แล้ว

    How to preview the file in new tab instead of the model dialog?

  • @chetanghogale12
    @chetanghogale12 ปีที่แล้ว

    I tried this it supports image and pdf but I want it support Excel and word files. Can we make it work. If yes please let me know the process. Thanks. This session was very helpful

  • @yakaka1
    @yakaka1 3 หลายเดือนก่อน

    Multiple Issues. Unable to login after import. Page item not found. Display error on APEX.GET_URL

  • @lalitKumar-rc6bp
    @lalitKumar-rc6bp 2 ปีที่แล้ว

    Thanks for this tutorial.

  • @ik_vlogs84
    @ik_vlogs84 ปีที่แล้ว

    How can display a file from a file system/directory in apex?

  • @sakthikumarperiyasamy2403
    @sakthikumarperiyasamy2403 11 หลายเดือนก่อน

    great! looking for this and got it

  • @ar13147
    @ar13147 10 หลายเดือนก่อน

    can we open Excel file or Word file or txt file etc. also?

  • @ShubhamSakhare-z5h
    @ShubhamSakhare-z5h 5 หลายเดือนก่อน

    Please make a video or blog on how to preview excel file in oracle apex app

  • @CarlosRomero-ry7rp
    @CarlosRomero-ry7rp ปีที่แล้ว

    Hello,
    The function works fine on a normal page.
    But in a MODAL page it does not work and generates errors

  • @GS-hc5zp
    @GS-hc5zp ปีที่แล้ว

    Hi Magaly, thanks. I implemented view pdf in my project following your tutorial, however issue i am getting is that pdf size is smaller and not fitting the pop up window size. what i am missing?

    • @TheCoderGal
      @TheCoderGal  ปีที่แล้ว

      Hi there, thanks for watching!
      I’d suggest checking that you have added the size you’d like to your object html element as that’s the place where your PDF will be showing!

    • @GS-hc5zp
      @GS-hc5zp ปีที่แล้ว

      @@TheCoderGal Thanks.. I will check.

    • @GS-hc5zp
      @GS-hc5zp ปีที่แล้ว

      I am facing 2 issues:
      1. In preview column i see button for those column also where file url is null (i.e blob does not exist for that row, i have resctricted url generation for which blob does not exist). how can i omit preview button appearing if url is null.
      2. i played audio and video files using your code, audio-video playes in background even if i close preview dialog. i have used refresh of region on cancel/close dialog still issue persists.
      would appreciate any clues on above.

  • @Mrsurajahuja
    @Mrsurajahuja 3 หลายเดือนก่อน

    Hi When i am using this i am getting Fetch api can not suppor javascript scheme. The apex_page.get_url is giving me the value starting with javascript:..... how do i resovle that

    • @TheCoderGal
      @TheCoderGal  5 วันที่ผ่านมา

      Hi there, by default, if apex_page.get_url is called from a modal dialog, JavaScript code to close the modal dialog is included in the generated URL. You could set the parameter p_plain_url to true to avoid it. Hope that helps!

  • @fdellipriscoli
    @fdellipriscoli ปีที่แล้ว +1

    I'm trying to replicate this application, I'm on APEX 21.2.... I have a question...we need to create application item AI_FILE_ID or not??

    • @TheCoderGal
      @TheCoderGal  ปีที่แล้ว

      Hi, yes - for the download process you need to create an application item that will contain the corresponding file id

    • @virendragaur5186
      @virendragaur5186 ปีที่แล้ว

      I'm also getting this error how u resolve it

  • @inchard18
    @inchard18 2 ปีที่แล้ว

    The table definition is not included in the completed app. Here you go
    create table mi_documents (
    id number,
    filename varchar2(350),
    mimetype varchar2(255),
    blob_content blob,
    description varchar2(500)
    );

    • @TheCoderGal
      @TheCoderGal  2 ปีที่แล้ว

      Thanks, Richard, for bringing this to my attention. I have updated the completed application and added a separate file with the corresponding scripts.

  • @lukechinsamy7764
    @lukechinsamy7764 ปีที่แล้ว

    Hi please advise if you offer consulting.

  • @vladimirtrajkoski7859
    @vladimirtrajkoski7859 4 หลายเดือนก่อน

    what is username and password to sign in to application?

  • @GERAX..
    @GERAX.. 2 ปีที่แล้ว

    Muchas gracias ❤👌

  • @rashidalin2
    @rashidalin2 ปีที่แล้ว

    what is AI_FILE_ID??

  • @aymanabuhussein929
    @aymanabuhussein929 5 หลายเดือนก่อน

    Hello Magaly .. It's not work, just preview the fields of the page, not the image !!!! and icons on buttons are not appeared

  • @moofoof
    @moofoof 2 ปีที่แล้ว

    What about word documents and excel ?

    • @TheCoderGal
      @TheCoderGal  2 ปีที่แล้ว

      Unfortunately, the object tag does not support those formats.

    • @lucamion3993
      @lucamion3993 ปีที่แล้ว

      @@TheCoderGal HI MAGALYLRAHETA , THANKS FOR THIS TUTORIAL! when do you expect an object tag that will support .xlsx and .docx formats?

  • @webghost2009
    @webghost2009 7 วันที่ผ่านมา

    The link is broken.

    • @TheCoderGal
      @TheCoderGal  5 วันที่ผ่านมา

      Thanks for reporting, the link should be working now!

  • @pabloandrescespedesroman4976
    @pabloandrescespedesroman4976 2 ปีที่แล้ว

    Una funcionalidad muy útil!

    • @TheCoderGal
      @TheCoderGal  2 ปีที่แล้ว +1

      Definitivamente! 😄

  • @mundova184
    @mundova184 2 ปีที่แล้ว

    Hola. Todo bien. Saludos desde México.

    • @TheCoderGal
      @TheCoderGal  2 ปีที่แล้ว +1

      Gracias! Saludos desde Inglaterra!

  • @youshark7
    @youshark7 ปีที่แล้ว

    Big Like

  • @willy4453
    @willy4453 ปีที่แล้ว

    🙏 *promo sm*

  • @magedfawaz6956
    @magedfawaz6956 2 ปีที่แล้ว

    table

  • @yendys74
    @yendys74 ปีที่แล้ว

    MORE

  • @brumasoficial
    @brumasoficial ปีที่แล้ว +1

    A very simple way is to use APEX_UTIL.GET_BLOB_FILE_SRC inside an embed tag attribute. By the way, nice tutorial.

    • @GS-hc5zp
      @GS-hc5zp ปีที่แล้ว +1

      Please eloborate more on it. Plz post, if any tutorial for help.

    • @brumasoficial
      @brumasoficial ปีที่แล้ว

      @@GS-hc5zp You can find examples reading the APEX_UTIL package documentation...