How do I link a button from the APEX to the HTML file stored on the server app?

I hope that it will be simple for a person

We have some word documents very technical I really didn't want to replicate in the oracle reports

So I saved them as html documents, and when I opened then they look very well in IE

I placed in the folder where our reports are stored, but I can't figure out how to create the URL to be placed behind a button in the APEX?

Of course the oracle reports url will not work as long as the pdf and servlet uses

Thanks in advance

Chris

Assuming you are using Apache?

You can place your Word documents in the same folder as your current Apex images directory (or a subdirectory it) and then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively, you can add a new Alias entry to your dads.conf file (located in your Apache/modplsql/conf directory) to expose the folder on your Web server that contains your Word via a URL like http://yourserver/word_docs/ files

For example

/Word_docs/ alias "c:\my_docs\technical_word_docs/".

Andy

Tags: Database

Similar Questions

  • How to remove attachments to email from the server

    Hello
    I created a CF model for sending electronic mail that includes attachments. It has been tested on my dev machine and works fine as long as the download of attachments to a directory on the server. I wish that the spare part to be served once as the e-mail message has been sent to the recipient.

    Macromedia ColdFuision 7MX web application construction book page 913 "interacting with Email" we a CFC that will remove the file when the user ends their session.

    I don't know how to write it to adapt the code that I use.

    Here's the e-mail form

    <! - Mail_Form.cfm - >
    < html >
    < head >
    < title > please enter your message < /title >
    < / head >

    < body >
    < do action = "Send_Email.cfm" method = "post" enctype = "multipart/form-data" > "
    < table width = '500' border = "0" align = "center" >
    < b >
    < td width = "500" colspan = "2" > please enter your e-mail address: < table >
    < /tr >
    < b >
    < td width = "250" > to: < table >
    < td width = "250" > < input type = "text" name = "to_addr" value = "" > < table >
    < /tr >
    < b >
    < td > subject: < table >
    < td > < input type = "text" name = "subject" value = "" > < table >
    < /tr >
    < b >
    < Td > message: < table >
    < td > < input name = "message" rows text box = "5" cols = "35" > < / textarea > < table >
    < /tr >
    < b >
    < td width = "250" > annex #1: < table >
    < td width = "250" > < input type = "file" name = "attachment_1" value = "" > < table >
    < /tr >
    < b >
    < td width = "250" > #2 Attachment: < table >
    < td width = "250" > < input type = "file" name = "attachment_2" value = "" > < table >
    < /tr >
    < b >
    < td width = "250" > #3 Attachment: < table >
    < td width = "250" > < input type = "file" name = "attachment_3" value = "" > < table >
    < /tr >
    < b >
    < td width = "250" > < table >
    < td width = "250" > < input type = "submit" name = 'Send_Email' value = "SendEmail" > < table >
    < /tr >
    < /table >
    < / make >

    Here is the form to send the attachment.

    <! - Send_Email.cfm - >
    <!-first of all, make sure that the attachments downloaded the user->
    < cfif FORM.attachment_1 NEQ "" > "".
    <!-firstly actually-> download file
    < cffile action = "upload".
    destination = "D:\uploadsTEST\".
    FileField = "attachment_1."
    nameconflict = "makeunique" >
    <! - now create a temporary support for the attachment then - >
    < cfset attachment_local_file_1 = "d:\uploadsTEST\#file.serverfile#" >
    < / cfif >

    <!-now repeat the process for the setting of the second and third: - >

    < cfif FORM.attachment_2 NEQ "" > "".
    <!-firstly actually-> download file
    < cffile action = "upload".
    destination = "D:\uploadsTEST\".
    FileField = "attachment_2."
    nameconflict = "makeunique" >
    <! - now create a temporary support for the attachment then - >
    < cfset attachment_local_file_2 = "d\uploadsTEST\#file.serverfile#" >
    < / cfif >

    < cfif FORM.attachment_3 NEQ "" > "".
    <!--forst actually download the file - >
    < cffile action = "upload".
    destination = "D:\uploadsTEST\".
    FileField = "attachment_3."
    nameconflict = "makeunique" >
    <!-now to create a temporary support for late fixing on->
    < cfset attachment_local_file_3 = "d:\uploadsTEST\#file.serverfile#" >
    < / cfif >

    <!-OK, now you have downloaded the file from the server, now we will send
    email with attachments: - >

    "< intrusion via cfmail to =" #form.to_addr # "[email protected]" = "subject =" #subject #
    Server = "an001so - dby1c.pbi.global.pvt" port = "25" >
    #message #.

    < cfsilent >
    <!-< cfsilent > tag used to kill the white space in this area
    If your email is not cluttered with white spaces-->

    < cfif FORM.attachment_1 NEQ "" > "".
    < cfmailparam file = "#attachment_local_file_1 #" >
    < / cfif >
    < cfif FORM.attachment_2 NEQ "" > "".
    < cfmailparam file = "#attachment_local_file_2 #" >
    < / cfif >
    < cfif FORM.attachment_3 NEQ "" > "".
    < cfmailparam file = "#attachment_local_file_3 #" >
    < / cfif >

    < / cfsilent >
    < / intrusion via cfmail >

    Here's the session request to delete the file to download

    <!--
    File name: Application.cfc
    Runs for each page request
    ->

    < cfproperty output = "false" >

    <!-name of the application. ->
    < cfset this.name = "attachmentPurge" >
    <!-enable session management. ->
    < cfset this.sessionManagement = true >
    < cfset this.clientMangment = true >

    < name cffunction output = 'onSessionEnd' = "false" returnType = "Cancel" >
    <!--> look for attachments to remove

    < cfset var attachDir = expandPath ("Attach") >
    < cfset = var getFiles "" > "".
    < cfset var thisFile = "" > "".

    <! - get a list of all files in the directory - >
    < cfdirectory directory = "" #attachDir # "name ="getFiles">"

    <! - for each file in the directory - >
    < cfloop query = "getFiles" >
    <!-if it's a file (rather than a directory)-->
    < cfif getFiles.type NEQ "Dir" >
    <! - get the full name of this file - >
    < cfset thisFile = expandPath("Attach\#getFiles.Name#") >
    < / cfif >
    < / cfloop >

    < / cffunction >

    < / cfproperty >

    The tutorial doesn't explain how to delete the attachment when the recipient audits post
    in the pop server.

    Assuming that the sender is in a session would be writing code to remove the attachment from the directory on
    the server, a message is sent.

    Can someone explain how to remove attachments from a designated directory or provide me the code that would deal with that once an email is sent with an attachment automatically.



    Thank you

    Tony

    That's how I do it.



    ThisDir = "d:\dw\dwweb\work";
    ThisDate = DateAdd ("d",-90, now());




    Select the name of AllFiles
    where datelastmodified<>






  • How to send photos by mms from the server?

    Hello

    I am currently working on mms app.what I do is first download the image of the server and then send.

    but there is a string currentLocation (location of the file we want to fix) parameter to MessagePart.

    so I use it directly from server how can I achieve that.

    pls help...

    thankx.

    Hello

    My problem was solved by using

    Bitmap image=imageObj.originalImage[0];
                PNGEncodedImage encodedImage=PNGEncodedImage.encode(image);
                byte[] contents=encodedImage.getData();
    
  • How to remove links to adobe from the image viewer

    On my site, I need to post a lot of pictures. I used the flash element of the «insert' - tabs «media» image viewer
    Everything works fine, but a few first photos in the slideshow are clickable and link to the adobe homepage. How can I remove the links and do not clickable pictures. Already, I went in the window of properties of flash element and makes the "image links" and 'image link targets' white. I don't know what else to try. Help, please!
    Thank you: Tibor

    Just post once. No response means that nobody knows
    the answer...

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "serestibi" wrote in message
    News:frm8qo$26V$1@forums. Macromedia.com...
    > On my site, I need to post a lot of pictures. I used the image viewer
    > flash
    > element of the 'insert' - tabs 'media '.
    > Everything works fine, but a few first photos in the slideshow are
    > clickable.
    > and link to the adobe homepage. How can I remove the links and make the
    > photos
    > not clickable. Already, I went to the flash element properties window and
    > fact
    > the "image links" and 'image link targets' white. I don't know what else
    > to
    > try. Help, please!
    > Thanks: Tibor
    >
    >

  • Is it possible to link a button from the toolbar or the shortcut to a specific style

    I want to build a custom toolbar with buttons that select a specific style. Is it possible to associate a button with a specific style of our style sheet? Or a keyboard shortcut? Or is it only possible to open the menu styles with a shortcut key or key?

    Thanks for your help.

    Casper Lange

    Hi Topmanager Casper Lange and welcome in the HR community. You say you want a toolbar to use while editing in WYSIWYG? There are a series of keyboard shortcuts for use in HR that you can search in the help. Fault what, I use Macro Express for the assignment of the styles. It's only $40.

  • How to remove a web page from the server web host via dreamweaver


    We have made significant changes to our Web site and need to delete a number of web pages that have been published on our web server.  While these retired web pages cannot be publicly accessed via links in the Web site, that have been deleted, web pages remain on the site and can be accessed if their specific URL is directly indexed.

    1. In the files Panel, select the remote server in the drop-down next to the site name and click the icon to connect to the remote server.
    2. Browse for the files you want to delete and press delete.
    3. Confirm that you want to delete the selected files.
  • How to migrate a virtual machine from the server with DAS to another server

    Hi guys,.

    questions. 'More' essential Kit. VMotion is available

    I have 2 physical servers, two of them have DAS (not SAN Central). SO I want to migrate a virtual machine on server A to server B. is it possible in this situation?

    Or should I have versions of more expensive VMWare do?

    Thank you
    Dmitry

    You can use clone. I would close first to the bottom of the virtual machine, but a VM slowed would be very nice clone. You can also use the VMware conveter. VMware converter can make a hot clone, including synchronization of last-minute changes, stop the source machine and put under tension the clone.

  • How to remove the link "Request itself" from the login page

    Hi all, I want to remove the link "Request itself" from the login page. It is not a menu item. So how can I remove it? Any ideas?

    Go to the System Configuration in Console Design

    Search authorized registration and XL. SelfRegistrationAllowed it is wrong. No need to modify the JSP

  • How to open a new tab from the address line?

    How to open a new tab from the address line?

    You will need to hold down the ALT key and press ENTER to open the link in a new tab without the use of an extension cord.
    By default the links always open in the same tab.

    You can search the Addons site for an extension if you want to change this default behavior.

  • How to remove a city from the weather app in IOS 9.2.1?

    I have an IPhone6S that I bought recently and am running IOS 9.2.1. I can't understand how to remove a city from the weather app. I tried to go to settings, where there is a list of all the applications on my phone except the weather app, so no help there. Any body can help me with this?

    You must tap on the small set of lines in the lower right to get list view. Then you can find the city that you want to delete, drag to the left to see the button Delete.

    See you soon,.

    GB

  • How can I link a photo from my iPhone? Is there an app for that?

    How can I link a photo from my iPhone? Is there an app for that?

    If you download the photo in a kind of service like Dropbox or Google, you can generate a link through this service you can share with people.

    You cannot create a hyperlink to an image that is only on your phone, your phone is not a web server.

  • LENOVO S 60 - how can I move messages deleted from the Inbox?

    How can I move messages deleted from the Inbox?

    Once you click on the e-mail.to, read it, it should have an option to move electronic mail.

    The menu button is the physical button next to the original key.

  • HOW CAN I DOWNLOAD MY CONTACTS FROM THE COMPUTER TO THE IPOD?

    HOW CAN I DOWNLOAD MY CONTACTS FROM THE COMPUTER TO THE IPOD?

    Follow this link

    http://www.ehow.com/how_5591557_transfer-contacts-iPod.html

    Simple google search.

  • Back to the old buttons from the common library.

    Animate buttons component CC (Ctrl + F7) are nothing like the Flash CS4 v10.0 buttons common library that I liked and used to work with.

    The gap is terrible.  I can't work with or use these new buttons.

    I don't want to buy/license buttons fantasies of the store. Not yet, anyway.

    How can I get a backward compatibility with the components that I know, the beautiful old buttons from the common library of CS4?

    Is this your idea of good business to take useful components and reactive community programming that invests in their use?

    I looked at the components in CS6 and Animate, and they seem to be the same. The Flex component has disappeared, but others seem to be there.

  • How can I remove an application from the App Store in the section update application?

    How can I remove an application from the App Store in the section update application?

    You can not delete Apps from the update tab. It's just a list

    The list is just for information purposes. Finally, they are deleted from the list on their own.

Maybe you are looking for