embed tag does not work for ms word (it's ok for the pdf)

Hi dear,

The following embed tag does not work for ms word documents (it's ok for pdf)

Why?

if :P138_TYPE  like '%pdf%'  then
htp.prn('
 <div style="position: absolute; height: 100%">
 <embed height="100%" width="100%"  name="embed_content" src="'|| apex_util.get_blob_file_src('P138_FILE_CON', :P138_ID)||
 '" type="' || :P138_TYPE || '" />
 </div>
 ');
else
htp.prn('
<div style="">
 <object src="'|| apex_util.get_blob_file_src('P138_FILE_CON',  :P138_ID)||
 '"><embed height="100%" width="100%"  style="position: absolute; height: 100%" name="embed_content" src="'|| apex_util.get_blob_file_src('P138_FILE_CON', :P138_ID)||
 '" type="application/msword" /></object>
 </div>
 ');
end if;





concerning

SIA

This is a HTML thing and not a thing of the APEX.

Tags works only for known-to-the-browser MIME types.

For tags work, your browser must have the plugin appropriate for this MIME type.

PDF works because (almost) always PDF plugins are installed:

  • FireFox includes its own PDF plugin
  • Adobe Acrobat Reader (which almost everyone has) offers a plug-in also

MS Office documents... not so much.

In order to display a Word document in a web browser, you must have a Plugin who knows how to view Word documents.

(.... Or... be stuck with Internet Explorer...)

I believe that OpenOffice is a plugin... but you can be guaranteed that the {end} user has this plugin installed.

MK

Tags: Database

Similar Questions

  • The research of the embedded index does not work for the PDF file opened with Adobe Reader in a browser

    Due to the way in which we use our Document management system, if we want to search through multiple or large files stored in our DMS PDF we merge PDF together and create an embedded index. This works perfectly well, when you open the PDF file in Adobe Reader standalone. Enter a particular term can bring 100 hits (very quickly) in the Adobe Reader search results pane.

    However, if we launch the PDF with Adobe Reader in Internet Explorer (any version), enter a term to search (contained in document) only get one result, that of the file name of the document itself.

    Unfortunately most of our users will access our DMS documents with internal links.

    Any ideas greatly appreciated.

    K

    It is a problem with Reader 8. You must use that...

    Using Reader 9. It will work well with it.

    -Arnav Agarwal

  • "@specTypeName @" placeholder for extensibility of the Email does not work for the master specifications

    Hi all

    • I installed E-mail Feature Pack 4.1 extensibility 6.2 PLM.
    • I use "GSMEmailFileBasedVariablesFormatPluginFactory" to send e-mail notifications when work flowing from one status to another.
    • I am successfully able to generate notifications by e-mail for all GSM specifications with the content specified by me except the master specifications.

    "@specTypeName @" placeholder for extensibility of the Email does not work for the specifications of the master.

    Can you please help me solve the problem?

    FYI,.

    ' @specTypeName @ ' placeholder works in all other GSM specifications.

    Thank you

    Nefertari

    For the resolution of this problem, please see the following knowledge base document:

    Document 2079386.1 - Notifications by email for the specifications of the master only lack the Type of specification field

    Thank you

    Stephen, Oracle Support

  • "Include the header row in the following Pages" does not work for the table

    Hello

    I use the 8.1.2.3337.1.509884 version.

    Pagnation function "include header line in the following Pages" does not work for any table in my design. (the check box cannot be verified little matter how many times I click it)

    I put such table already in a bodypage flow.

    Any reported similar problem?

    Any suggestions?

    Thank you.

    -Vicky

    The only thing I can think is that your table is not in a subform flowed. Who will stop the check boxes.

  • Quick setting does not work for the update of the BIOS.

    I have dell Inspiron 5559, I updated my bios to the current version, but apparently my quick adjustment does not work. I tried to uninstall, but it says "the Bios in your computer is obsolete. Update your bios firmware to the current version. "I can't update the quickset too! What should I do?

    Thanks to avd. ...

    But the thing is, after using it for a few days, pls, make sure the bios or driver quickset issues are resolved on the next update, on their compatibility. Quick setting works fine now, but the bios updated makes driver it is unnecessary because DellPowerManagement does not work amd icons quick adjustment of the numeric keypad and fn key doesn't happen. Aparently, the powermanagememt can be woroed in the menu of the bios and quickset icon doesn't show, but guess on the behavior, you can see if the keypad lock and fnlock is enabled or disabled. So I would say users do not use bios 1.2.4 update, better, use 1.2.3 that works smoothly and with all the features.

  • My serial number that has been given does not work for the installation of the program of the premier adobe elements.  What should I do?

    The serial number that gave me to install Adobe Premier elements 14 does not work.  How can I get a serial number of work in order to proceed with the installation of a program that I already paid for.  I can't get anyone on the phone with Adobe to help me.

    Error "serial number is not valid for this product". Creative Suite

    Select a topic and then I STILL NEED HELP to start the first elements online chat

    -http://helpx.adobe.com/contact.html?step=PRE

  • Adobe Customer Support Portal link does not work (for the good performance of Student Edition order): Site area temporarily unavailable

    As mentioned above does not work the Adobe Customer Support Portal link (to the good Student Edition order fulfillment).


    After goingt to: www.adobe.com/go/eduverify and by clicking on the Adobe Customer Support Portal link a page saying: "" Adobe Customer Support Portal is an update of the system to implement major system improvements and will be temporarily unavailable starting at 15:00 DST of the Pacific on Friday, October 9".

    Today is August 10! Site is down for more than a year now!

    Please help me, I want to just sign my Student Edition Lightroom 5 and get the serial number.

    MattJimbo we had a maintenance period of this weekend.  This impact on the availability of certain services.  My apologies for the inconvenience.

  • sw_lic_full_installer/s does not work for the latest version 11.5

    The old version acknowledged the /s command, but this new version does not work.  The msi file does not have the complete installation. (it does not install the firefox plugin and some other stuff.)

    Does anyone know the installation in silent mode for the file sw_lic_full_installer.exe.  You must click close and its judgment install my fully automated.  Please can someone help.

    Download the MSI file is a different version (sw_lic_full_installer.msi) the version 11 and 11.5.  So I wouldn't rather install msiexec /i sw_lic_full_installer.msi /qn because it is not the same (she also do not install firefox plugins).

    Thanks Matt.

    Try to use/s (uppercase).  I had the same problem and that seemed to help me.

  • Navigation does not work for the criteria of the union?

    Jin
    I columns I say product1, product2, prodcut3, current_value1, cvl2, cvl3... in the form of different columns

    I want to get the output voltage
    Product_name  Product_value      cv1
    
    p1                    10                      5
    
    
    p2                    20                      8
    
    p3                   30                      3
    So I want to display prouduct_name, product_value and current value in order to get the product_name I hard coded the value of fx himself as 'P1' and the operation of the union to get the data for all products under a single column called product_name.

    I activated the navigation for each product. I have a graph of the trend with all the data of these products. When I click on any product it must show this product graph only and also
    I want to get the product_names at the top. Using PivotTable (same as above but moved the column product_name in section of the PivotTable page). But when I click on the P1 I do not receive the respective value, the graph does not change.


    Is it possible to do in the RPD by adding an additional column for the operation of the union there himself.
    All the ideas!

    Thank you

    using GoURL it will work

  • Is - what antialiasing does not work for the scxi 1141?

    Hello

    uses a chassis PXI-1052 with a DAQ 6052E for dynamic analysis.  I use a module SCXI 1140 cascading with a filter of 1141 , SCXI and 1120 SCXI D amplifier. My goal is to achieve low noise, filtered data. I have set up my gear so that data travels in SCXI 1120D ahead in parallel with the SCXI - 1141 and in parallel with SCXI 1140. In short, I want to test if the smoothing works. I generated a sinusoidal data with a frecvency of 600 Hz rates and sample of 1024 and I got an alias of 424Hz. The filter is disable. The alias does not disappear when I activate the filter with a cut-off of 500 Hz frecvency. What's wrong. What is antialiasing working for this module? My channels is set to traditional NI-DAQ title.

    Hi Avi,

    I'm having a hard time trying to reconstruct how samples are defined and how your signal is actually routing through material.  Is the 1120D on the front of the 1141 and then the 1140 is in the slot next to those?  You said there were many things in parallel and now I'm confused.  Thanks for the clarification!

  • Eraser tool does not work for the black layer mask

    I'm trying to put a black layer mask and use Eraser tool to change.  Unfortunately the Eraser tool does not.  I'm not knowingly do anything differently that I did in the past.  Recently, I did a round of software updates for CS6.  I was wondering if anyone else is experienceing this and if there is a solution?

    Verify that the in the Toolbox foreground color is set to black. (in front of when using the Brush tool)

    Press D, and then press the X key.

    And opacity and flow are 100%.

    Most people use the brush on the layer masks and you might find that works better.

  • "Backup Optimization" does not work for the "database backup"

    Hello

    I use a windows environment and my info from database is like this:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    now I have to change my configuration for backup optimization on and then make example tablespace offline and do file sample data in offline mode. After that, I run 2 times 'Backup Database' command but 2 backup has the same size and have example tablespace too... Any backup archivelog is work bur backup database is not!
    According to this link, it does not backup datafile for the second example: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV113
    is there something I missed?

    configuration of RMAN:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 5;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'HIGH' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\APP\ABC\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL.ORA'; # default

    No failure, it works an expected. There is a relationship between the retention policy and the number of backups:

    RMAN only ignore backups of offline or read-only data files when there are backups n + 1, where n is the redundancy. You have of the "REDUNDANCY 5', and you will keep 6 identical backups of the offline data file.

    Werner

  • Trigger start analogue does not work for the tasks of the analog output

    Hello. I wonder - what someone has tested the trigger mode analog start for continuous output voltage-. example of VI under hardware input and output - analog output folder in the Labview.

    My camera's SMU-6358, who has two lines APFI and supports analog trigger. Although it is very difficult to find information on the use of analog trigger for analog output of the tasks, what I've learned so far is to connect the interested analog trigger signal (such as an external noise) on both the AI channel which is used as a source of relaxation (ai0 in my case) and a two-channel (APFI0 in my case) APFI.

    During the test the example above vi, any level of relaxation that I put (even with 0), the task of output did not work at all. No error message is returned either. Just for your information, I do physical tests, not only the software simulation, so no signal means no signal.

    Any help is appreciated!

    I have here is that the solutions to this issue, just want to say thank you to all who have helped me on this subject.

    Use the analog analog trigger output tasks, make sure that the trigger signal (input HERE) is connected to APFI0. There is no need to connect the trigger even signal to ai0 if you do not want to save the trigger signal. However, if you do not want to save the trigger signal, connect the trigger signal to both ai0 and APFI0 with a signal splitter. In the latter case, the task of the AI shouldn't take the same trigger that the task of the ao. This means that you can start your registration with or without a trigger, while leaving the task of ao wait a trigger of some signal. This is useful in a situation that you only want to generate ao task to a certain trigger event, as when a signal reaches a certain level of sound pressure.

  • Click event does not work for the first choice of object field index

    Hello

    In my application, there is a ObjectChoiceField inMainScreen

    I want to get change Listner of ObjectChoiceField after clicking on index 0. When I am clicking on the second element of the choice field, I am able to move to another screen. But for the first selection of the element, it does not move on the screen.

    if(field == mOcfVehicle)
                {
                    Logger.out("MyProf", "vehicle choice field touched ");
                    int index = mOcfVehicle.getSelectedIndex();
                    Vector vecVID = store.getVehicleID("VehicleID");
                    final String strVehId = vecVID.elementAt(index).toString();
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
    
                        public void run() {
                            // TODO Auto-generated method stub
                            UiApplication.getUiApplication().popScreen(MyProfScreen.this);
                            UiApplication.getUiApplication().pushScreen(new AddNewCarScreen(1, strVehId));
                        }
                    });
    //
                }
    

    Please help me...

    Here it happens little differently. I explain the requirement properly. Suppose that the I am A screen where I have the ObjectChoiceField. I added a choice of X. Now, when I am pressing on the field of choice and selection, it must pass on the screen (B) but that the choice of the field is choice (X) only one, it is not mobile. Now if, after the addition of the choice of two X and Y, if I select go, it's going to screen B. But when again, the field of choice has 2 options X and Y with X as the default selection. There is therefore no chance for me to choose the X.

    Therefore, I have added a Select called default choice. Now, if X is added, field of choice is the choice of towing display: Select and X. And while choosing X, it moves on the screen B.

    Hopefully now, it is good for understanding.

    And can help me please to this: http://supportforums.blackberry.com/t5/Java-Development/How-to-on-the-Camera-Flash-for-a-long-time-l...

    Thank you.

  • Master Page does not work for the text block

    What I am doing wrong?

    I create a master page.

    It's a given size, 6 X 9

    It has a margin.

    It has a text box with a heading for chapter headings.

    So far so good.

    At least I have substitute her in the following pages, it seems fine.

    However.

    I want a footer (for page numbers) so that I place a footer on the bottom.  Let's say it's an inch of height.  Right now it has nothing in it.

    I want a block of text that falls between the header and the footer, so I can run inside without having it encroach on header or footer.

    The header seems protected.  But.

    No matter how much I try and do all that I do, "foot" does not appear on the following pages.  Nor does the text box.  The header area is "taken", but the rest of the page is at stake.  Not "foot".

    Help, please.  It's driving me crazy.

    Thank you.

    Thanks, Willi.  I thought about it.  Sometimes I'm so tired of banging my fool head against a wall.  I wanted to have coherent text blocks in my pages.  I didn't think I didn't NEED them.  The footer has appeared in the following pages as soon as I put SOMETHING in the chassis.  A variable.  When it is empty, the space is considered as unoccupied.  Duhhhh.  Time to go to sleep!

Maybe you are looking for

  • Satellite A300-20 b - Touchpad does not work after BIOS update

    I've updated the BIOS on my Satellite A300-20 b latest version 2.00. Update succeeded, but when I rebooted system touchpad has stopped working. I tried to find the solution, resettled drivers (windows XP system). In the Windows Device Manager there i

  • When I click on print, it does not print, it just opens the fax option.

    Greetings, I have a HP Officejet 6700 Premium all-in-one. Works of connection Wi - Fi and print test page works. I use Windows 7. When I'm in MS Word and click on 'print', I am re-directed to the fax properties. I don't want to send a fax, I just wan

  • Eyperlink on Excel with Vista gives error cancelled operation

    When I try to open a hyperlink in Excel, I get a message that says, "this operation has been cancelled due to restrictions in effect on this computer". What could be the problem? I am the administrator, then, what can I do? Thank you. Tracy

  • Lenovo Solution Center - only HW Scan?

    I have 3.2.002 running. on my X 240 (Windows 10) but the only Option is 'Material Scan'. I remember many more options in older versions. What's not here?

  • 755 HD Toast?

    I get a message that my HD is badly displayed in white letters black screen of the upper left corner. I did remove 1 Mem stick retrieve the numbers and then put it in, I only started the unit with 1 stick. Put the stick, the stick back in... .He gave