Use apex_util.get_blob_file_src in HTML region as a source of a PDF file

Hello,
How to make apex_util.get_blob_file_src servers as a src attribute of HTML Tag in an HTML region source ??
my code :
<div style="">
<embed height="100%" width="100%" name="embed_content" src="apex_util.get_blob_file_src('P126_FILE',FILE_id)" type="application/pdf" />
</div>So, I have PDF file in Blob. But The source here does not get rendered... What SRC do I have to use ??
Regards,
Fateh

Hi Fateh,
How to make apex_util.get_blob_file_src servers as a src attribute of HTML Tag in an HTML region source ??my code :
<div style="">
<embed height="100%" width="100%" name="embed_content" src="apex_util.get_blob_file_src('P126_FILE',FILE_id)" type="application/pdf" />
</div>So, I have PDF file in Blob. But The source here does not get rendered... What SRC do I have to use ??>
Please see the example here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDICGDA.
    THEN '<img src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />' The API gets called in a PL/SQL block, not embedded into a HTML tag.
Cheers,

Similar Messages

  • Problems using apex_util.get_blob_file_src

    I am currently trying to use apex_util.get_blob_file_src to display an image in my report.
    My SQL statement looks as follows:
    SELECT
      obj.ID,
      obj.BESCHREIBUNG as BESCHREIBUNG,
      ort.BEZEICHNUNG as ORT,
      rgn.REGION as REGION,
      AVG(vfb.PREISPROWOCHE) as PREISPROWOCHE,
      '<img src="'||apex_util.get_blob_file_src('P19_UPLOAD',MIN(bld.ID))||'" />' AS IMAGE
    FROM
      F_OBJEKTE obj
      INNER JOIN F_ORTE ort ON obj.ORT = ort.ID
      INNER JOIN F_REGIONEN rgn ON obj.REGION = rgn.ID
      INNER JOIN F_VERFUEGBARKEIT vfb ON obj.ID = vfb.OBJEKT
      INNER JOIN F_BILDER bld ON obj.ID = bld.OBJEKT
    GROUP BY
      obj.ID,
      obj.BESCHREIBUNG,
      ort.BEZEICHNUNG,
      rgn.REGIONThe apex_util.get_blob_file_src only returns an empty string though. P19_UPLOAD is the correct name of the element taking the image file and bld.ID is the correct ID of the element within it's table. The aggregation is because each object can have multiple pictures, but I only want to have one of them displayed in the report. What I am currently suspect is, that maybe the image files aren't uploaded correctly. The datasets are created however, I'm just not sure if the blob filed actually holds the data of the image - and I'm not sure on how to test this... any suggestions?

    Noone any suggestions on what might be going wrong?

  • Using APEX_UTIL.GET_BLOB_FILE_SRC

    I want to store a Flash movie in a blob in the database. I then have a report page which lists the movies available, and then when a user clicks a link it opens up a new page which then displays this movie.
    I can do the first report type page fine, but need to know how to use APEX_UTIL.GET_BLOB_FILE_SRC on the second page to open the movie. This cannot be done within a report as I need the page to have very specific settings to ensure that maximum use is made of the page.
    If you can't use APEX_UTIL.GET_BLOB_FILE_SRC, is there another way of doing this using APEX or PL/SQL
    Thanks.

    Noone any suggestions on what might be going wrong?

  • I use iMac desktop. I can't save web pages as PDF file by using Firefox, but by Safari is fine.

    I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothing inside. Then I tried to save email as a PDF file by using Safari browser. And I got a complete and sucessful PDF file. I usually save web pages or web mail, online receipt as PDF file by use Firefox. But since I have updated to the new version, there were many problems with my Firefox. I tried to restore all my application and made Firefox in the old 3.6.3 version which I used to have no problem. But now still not working.

    I solved it for myself: it was my HP smart-web printer crap that was a plug in and add on for firefox that somehow automatically got installed when I upgraded to 5. I disabled both in the add-ons manager, and voila, printing is working.
    It seems there are many things, like this and the Google toolbar, that were screwed by the oddly fast update to 5. Looks like Mozilla didn't give anybody any notice! Must've been some really bad security hole.

  • I use iMac desktop. I can't save web pages to PDF file by using Firefox, but by Safari is fine.

    I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothing inside. Then I tried to save email as a PDF file by using Safari browser. And I got a complete and sucessful PDF file. I usually save web pages or web mail, online receipt as PDF file by use Firefox. But since I have updated to the new version, there were many problems with my Firefox. I tried to restore all my application and made Firefox in the old 3.6.3 version which I used to have no problem. But now still not working.
    ''Duplicate post, continue [https://support.mozilla.com/en-US/questions/746583 here]''

    hello jlzibell, please go through the troubleshooting steps described at [[Websites say cookies are blocked - Unblock them]].

  • I have an iPad 2 with iOS 5.1 and iBooks version 2.1.1. I have 64GB of storage, 80% is used. iBooks is using 250MB of storage. I have a large number of PDF files in my iBooks library. At this time I can not add another book or PDF file to my library.

    I have an iPad 2 with iOS 5.1 and iBooks version 2.1.1. I have 64GB of storage, 80% is used. iBooks is using 250MB of storage. I have a large number of PDF files in my iBooks library. At this time I can not add another book or PDF file to my library.  When I try to move a PDF file to iBooks the system works for a while...sometimes the file appears and than disappears....sometimes the file never appears. Is ther some limit to the number of books or total storage used in IBooks?  Thanks....

    Hi jybravo70, 
    Welcome to the Apple Support Communities!
    It sounds like you may be experiencing issues on your non iOS 8 devices because iOS 8 is required to set up or join a Family Sharing group.
    The following information is located in the print at the bottom of the article. 
    Apple - iCloud - Family Sharing
    Family Sharing requires a personal Apple ID signed in to iCloud and iTunes. Music, movies, TV shows, and books can be downloaded on up to 10 devices per account, five of which can be computers. iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality. Not all content is eligible for Family Sharing.
    Have a great day, 
    Joe

  • Using dynamic info in html region?

    Is it possible to use the output of a query in the source area of an html region?
    I'd like to display some data in the source I have in the html region of a page, but I can't find any documentation on how to do that.

    Hi,
    You have to create a dynamic pl/sql region and use PL/SQL and the Oracle Web toolkit (i.e. htp/htf packages). Also you can reference session state using variables bind (:MY_ITEM) syntax.
    Example:
    declare
      my_date varchar2(20);
    begin
      select to_char(sysdate, 'dd-Mon-yyyy')
      into my_date
      from dual;
       htp.p('Actual date:'|| my_date);
    end;Hope that helps,
    Paulo Vale
    http://apex-notes.blogspot.com

  • Using bind variables in HTML Region source

    <nl>
    http://apex.oracle.com/pls/apex/f?p=49417:1   workspace: SVK demo/demo
    I am having problems incorporating an item variable into a string of embedded html that should popup a modal video when the button is pressed.
    Item 1 works fine and that is what I want to accomplish with item 2, but when I pass :p1_url, it does not work even though the contents of the two items text areas equivalent.

    svk1965 wrote:
    If you look at my app, you'll see what I am attempting. Click on the button "Pass Hardcoded URLs in Variable to HTML Region" and a modal video will pop up. The goal is to display video in a modal window. The first example in my app works just fine. It is the second one that is causing me problems. BTW - Sequence 18 in the second DA does the same thing as Sequence 10 in the first - and it does work there so I am not sure that removing it is the right thing to do. I am not trying to set a region value per se, but populate the region source and sequence 10 does just that. So I don't think it is "useless" as you say.I can't see anything in the documentation or any previous posts here that indicates that DAs are supposed to work that way. If you can point me to some I'd like to see it. Which is not to say I like the idea. Plays too fast and loose with terms and concepts.
    Rather than trying to use a "Set Value" DA, my understanding would be to manipulate the region content via an "Execute JavaScript Code" DA, which works exactly as intended.
    I'll have to investigate this DA behaviour with a simpler example that doesn't involve hidden regions and Dynamic Acrion plugins.

  • Is there a way we can use Acrobat Standard to assign a password for opening of signed PDF file once it has been downloaded from DocuSign?

    Prior to implementing DocuSign, we used to scan manually signed document to a PDF file and then store the PDF file in a HR file share.  We would then use Adobe Writer Standard to assign a read/write password to the PDF file.  We now use DocuSign to have documents electronically signed and download the DocuSign PDF in our HR folders.  However Adobe Acrobat Writer does not allow us to assign a password.  It pops up a dialog box saying ""you cannot change security on this document because the document is signed or certified".  We want to continue being able to store the PDF in our HR file share with passwords to restrict who can view off the share.  Is there a way we can assign a password to the PDF file once it has been downloaded from DocuSign?

    Thanks Bernd.  We can't assign passwords before signature process starts as people will not be able to open the PDF without knowing the password.  I think we will change our process and simply leave the electronically signed PDF in DocuSign and then "print" the PDF to our local file share for internal HR purposes.  thanks again.

  • Use of XMP Custom Panel to automate insertion of metadata into PDF file.

    I'm new to the world of XMP so please bear with me.
    I'm exploring ways of automating the insertion of metadata into PDF files, either at the time of creation, or through a batch process. The metadata values for a given set of documents would be static, so these could be "hard coded" into the mechanism use to insert the metadata.
    Would an XMP Custom Panel be something I could use to achieve this goal. If so, can you please provide some details on how to go about doing this.
    Thanks in advance.
    Louis

    Were you able to find a solution to this problem? I am having the same issue.
    Jason

  • How use parameters on a html region for report query region

    Hi all.
    I have created a number of report regions which initially query some data.
    The requeriment now is to have a date range (initial and final) and use this range as a parameter for report queries.
    i created a new region containing these two date values. Now i need to:
    - Give this date fields and initial value: say first and last day of current month.
    - Perform a validation to ensure initial date is less or equal to final date.
    - And most importantly, i need to reexecute the queries based on this date range.
    How do i do it...?
    Thanks in advance ...!

    Start here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21679/toc.htm#
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_ses_val.htm#HTMDB25030
    I can guarantee that it will be easy

  • How to use for each loop in XSLT when my source is a multilayout file and db

    How do I use a for each loop in XSLT when my source is multilayout file and db .
    My multilayout file is basically contain 2 kind of data one for employee and another for dependent.
    Now my requirement is I want to read each line of data whether it is it is employee or dependent do a join with db and write it in my target file.
    eg :  File content
    1 RichaKumari 311289 TCS INDIA
    2 KiarnKumar 456782 BRO RichaKumari 311289 INDIA
    2 Ravi            456882 BRO RichaKumari 311289 INDIA
    eg : db Content
    311289 RichaKumari TCS INDIA Bangalore [email protected]
    Now in Final File I need something like this :
    1 RichaKumari 311289 TCS INDIA
    2 KiarnKumar RichaKumari 311289 TCS INDIA
    2 Ravi            RichaKumari 311289 TCS INDIA
    here 1 and 2 are the identifier which will decide which layout to follow .

    Hi,
    I think you'll need two nested for-each's... Something like...
    <xsl:for-each select="$root/row[layout = 1]">
    <xsl:variable name="employee" select="."/>
    ... write employee ...
    <xsl:for-each select="$root/row[layout = 2 and dependentid = $employee/id]">
    ... write dependent ...
    </xsl:for-each>
    </xsl:for-each>
    Cheers,
    Vlad

  • Can anyone help me, I am trying to create courses using Captivate for Udemy, but even after saving the courses as pdf files, Udemy will not reconize them. NOw I am back to square one because according to Udemy techs, they do not support Captivate files.

    Trying to create my courses using Adobe Captivate, but even after saving the files as a pdf it will not upload in Udemy. What can I do?

    Yep, you lose all interactivity when publishing to video.
    Udemy, Lynda.com, Total Training and other similar models are based on simple "watch the video to learn" type of consumption. The only real interactivity you get is an ability to pause, rewind, fast forward. Basically anything you can do with a video.
    Cheers... Rick

  • I have iCloud set up on my iMac,iPhone and iPad. How do I use the storage in iCloud? Can I upload Word and pdf files?docs?

    My iPad and iPhone have iCloud icons. How do I access iCloud from my iMac?
    How do I take advantage of the free storage? Can I upload photos,Word and PDF docs?

    Open contacts on your phone and check your groups.  Do your contacts belong to any non-iCloud groups such as On My iPhone, a Gmail, Yahoo or Exchange account, or anything else?  Also check Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section).  What is selected as your default account?

  • I am using a Lenovo laptop with windows 7 OS.  open a pdf file and getting a volume label syntax

    can anyone assist me or know of a solution

    What is your Reader version?
    Can you post a screenshot of that message?

Maybe you are looking for

  • How do I remove iCloud music from my iPhone?

    I have music showing up on my iPhone that I did not select.  These seem to be coming from iCloud as the music is stuff that was downloaded from the iTunes store.  I even removed one song from my iTunes library and yet it still comes up on my phone. 

  • Can't get photoshop elements to open

    I have used photoshop many times on this computer and have never had a problem until now.  I tried to open it on my computer and I double clicked on the icon as well as went to "start" "programs" to get it to open and it won't do anything.  When I ra

  • No problems here

    I just got my iPod nano a few days ago. I was really nervous about all the talk about severe scratching problems, but so far I've had none. I use my nano constantly, and it spends most of the time in the small change pocket of my jeans, or one of the

  • SG 300-28: how to configure it as DHCP server.

    I am relatively new the configuring network switches. Could someone point me in right direction to configure SG300-28 as a DHCP server? From the people I talked based on device specs it should be able to act as dhcp server. However, if we cannot, can

  • FLASHING AMIBIOS IN DOS ,, WHAT IS THE EXTENSION ??

    Hello people ,, I want to flash my p6n diamond in dos afud408 7320_vlx  /P /b  do i miss an extension ?? thank you !!