Hyperlink to a local file.

Hi ABAP Masters,
I am developing a screen program that gets a file from a local PC (example desktop) and then there is an output field that displays the hyperlink of that file.
Is it possible to create a hyperlink to that local file such that when the hyperlink is clicked the file is downloaded for viewing?
If yes, can you please help me on how to do this?
Thank you so much!
Regards,
Onyx

Hi Andreas,
Thank you for your suggestion.
Sorry I am not familiar with text edit control.
Can you give me an overview about this?
Your response is highly appreciated.
Regards,
Onyx

Similar Messages

  • How can i make hyperlink to local file for dowloading

    How can I make hyperlink to a local file for downloading it, it seams that only www links work in web Ui.
    Thanks

    If we assume that you have a LabVIEW application running on your cRIO that is exposing some data through web services, there are a couple of possibilities.
    You can create a web service call that returns the log data. In order for the browser to treat this as a file, you must set the correct content type in the http header. To do this you can't use the default form of data output. Instead you must create an "httpRequestID" input to your web service VI. With this you can call "Write Response.vi" to give the log data and "Set HTTP Header.vi" to specify the type (text/text probably works for a log). You can look at "examples\comm\webservices\address book\FindContacts.vi" to see an example of calling these 2 VIs. Once you create that web service entry point, you can set that as the URL of the hyperlink control and it should work.
    Another option is to have the cRIO application write to a log file that is under the root of the web server running on the machine. (This is the same place the xap for your Web UI Builder application is put.) This file could then be served up through the web server just like any other file.
    With either of these solutions there may be concerns about the browser caching results rather than requesting new content each time. There are additional values that can be set in the http headers with the first solution that can help with this, but I think there is still some variation between browsers.

  • How do we create Hyperlink to local file on c:\ in Web Intelligence

    How de we create Hyperlink to local file on c:\ in Web Intelligence.
    Thanks in advance,
    K.

    K,
    You can't hyperlink to a local file when you are in WebI.  The ability to hyperlink requires the http protocol to be employed, wrapped within a web service (like IIS, for instance).  So to hyperlink to any file, that file must be a part of a web service, and the web service must have access to the folder (again, like in IIS you must create web shares and IIS must "mount" those shares in an http environment).  Hopefully I'm making sense to you on why it can't be done. 
    On the other hand, content that is static and has been made available for browsing on the web can also be linked to by populating a cell in a WebI report, marking that cell as "read cell contents as hyperlink", etc, etc.
    Thanks,
    John

  • Link local file with browse file dialog

    Hey guys,
    I'm looking for a solution to hyperlink to a local file (i.e. C:/test.txt). I want that the user clicks on a "browse file" button like the file browse item. after the user selected a file or just a folder the path should be shown in a display only item. this item should be clickable...
    Is it possible to create a "Browse file" dialog? I know that to link to a file is possible with some HTML tags in the "pre element text" and "post element text" fields. something like "<a href="... but I don't know how this works.
    Would be happy, if u have some tipps for me ;)
    Best regards
    Daniel

    No one an idea? Especially for the "Browse file" dialog?

  • Hyperlink to pdf on the local file system

    Hello,
    I'm using Oracle Reports 6i. I'm trying to set hyperlinks in my report through the pl/sql command srw.set_hyperlink to another pdf document.
    When I set the hyperlink to a URL, eg, http://localhost/document.pdf#dest, it works fine, the pdf opens in IE to the destination. Now when I specify the link to a file on the local file system, eg, file:///c|/document.pdf#dest, I get a file not found within IE. If I take out the destination, it works ok, that is, it opens up the document with IE.
    What am I doing wrong here? Is there a way to link a report to another pdf to a named destination within the local file system?
    Thanks,
    Ricky

    Ricky,
    This is more of IE - PDF issue I guess. Also this problem is seen more specifically for IE + File protocol + PDF
    Nothing related to the Reports PDF here. You can try by just referring a PDF section through file protocal in IE and you would see the same behaviour
    Thanks
    Rajesh

  • Is there a way to make firefox open hyperlinks to local files?

    My company has a custom developed ticketing system and of course its developed for IE but none of the engineers like IE. We all use and want to continue using Firefox. One of the sections in the ticketing system has a spot for links to local files on a shared drive. I have created the link and it points to a word document. That hyperlink works fine in IE but it does nothing when clicked in Firefox.
    Of course the dev team is giving me the age old line ".NET doesn't play nice with Firefox... developed for IE.... blah blah use IE."
    Surely creating a link to a local file like excel or word or even a directory is simple idea and should be accomplished somehow with FireFox right? Can anyone shed some light on this and give a suggestion how to make this work?
    For example:
    N:\KNOWLEDGE BASE\Cisco Price List\2012\pricelistaugust2012.xlsx
    i am trying to share with a hyperlink like:
    <a href=file://companyname.local\Shares\Services\KNOWLEDGE BASE\Cisco Price List\2012\pricelistaugust2012.xlsx
    Looking for any suggestions on how to make this work. Thank you so much!!

    I think there are two aspects to this:
    (1) URL format
    If you navigate to that file using the browser's Open File dialog (Ctrl+O), you can get the workable link format for it. For example, the separators will be forward slashes instead of backslashes.
    (2) Local file security
    Firefox limits access from pages on web servers to pages on local disk or UNC paths. This article has more info: [http://kb.mozillazine.org/Links_to_local_pages_do_not_work Links to local pages do not work - MozillaZine Knowledge Base]. This extension provides a workaround: [https://addons.mozilla.org/en-US/firefox/addon/locallink/ LocalLink] (I haven't tried it myself).

  • Hyperlink to local file

    This is very simple, and incredibly frustrating :-) I want to call a local file from a hyperlink (say c:\test.txt) but putting this in a hyperlink url does absolutely nothing, the link is completely dead.
    On a colleagues machine his link url gets a ";jsessionid=...." string appended to his which doesn't happen on mine either but neither machine can call a local file of any sort. Surely this is a bug of some sort? Or am I blind to some obvious reason it can't be done?

    Hi AidanM,
    I have exactly the same problem like you and I tried this (using creator):
    I inserted following JS code into the ui:head tag of the jsp:
    <ui:head binding="#{Page1.head1}" id="head1">
    <script type="text/javascript">
    function openHelpHTML() {
    window.location.href("C:/tmp/test.html");
    </script>
    then I set the target property of the hyperlink to "new window" (customer's requirement) and the onClick property to openHelpHTML(). When I click the hyperlink, the JSP ist reloaded and in the background a second browser window is opening and displaying the HTML-page.
    My second problem now is that I cannot write something like that:
    <ui:head binding="#{Page1.head1}" id="head1">
    <script type="text/javascript">
    function openHelpHTML() {
    window.location.href("#{ApplicationBean1.helpPath}");
    </script>
    I wanted to write the path into the web.xml as parameter, so that I can change it later (if needed). but it does not work.
    I�m not sure if this "solution" suits my (customer`s) needs but maybe it�s ok for you?
    cheers
    I�ve just found out that window.location.href (C:/tmp/test.html) does not work in IE because it`s a local html-file and I got an error:
    "Access denied".
    It worked in my test-project because I had set the path to H:\tmp\help.html and H: is a network drive.
    So I decided to change the path to the path of the webserver (in my case Tomcat 6.0):
    window.location.href("http://localhost:8080/help/test.html");
    where "help" is a folder in webapps folder of Tomcat.
    Message was edited by:
    dan_k

  • Word 2010 to PDF hyperlink opens browser for local file...

    Recently upgraded to Office 2010.  I used the Save As .pdf option in Word 2010 for a file that contains a hyperlink to a local pdf file. When I open the saved pdf file with Acrobat Reader and click on the link, my default browser starts up to display the local file. I have tried using different versions of Acrobat Reader, different operating systems, and all kinds of options, but can't figure out why this is happening. I think it's a bug in Word 2010, but can't find any information about this on the web.
    Does anyone have any clues?

    OK, replying to my own post, I did just find a Workaround
    that's only a few extra steps.....
    After all edits and changes were completed in the Word file, I printed to PDF from Word,
    creating a Rev A file. Once that was done and a new pdf was created, I opened the
    Original File and selected "Combine" from the "File" pull down menu.
    With both of the files in the same PDF document, I deleted all the pages from the
    Original file. Page one of the Rev A file is now p. 1 of the "combined" file,
    and all the PDF bookmarks (still there from the Original File) line up in the right
    sequence. The bookmarks (produced by "Saving to PDF" with Headings 1 and 2,
    when the original PDF was made) need to be re-linked to the pages in the Rev A
    file, but that's quicker than starting from scratch.
    Not really very elegant, but it worked. I'd be curious to know what's wrong with the
    PDF files saved with bookmarks in WORD, because that happens EVERY time.
    I have Acrobat Pro Extended, iteration 9.5.1

  • Hyperlinks to local files no longer work

    Hyperlinks to local files no longer work in Adobe Reader 11.0.1, but they did prior to the update.  We have verified this on multiple machines.
    We create a document in Word, add multiple relative links to other files on our local computer, and save as a PDF.  The links worked in previous versions, but no longer work in 11.0.1.  Does anyone else have this problem?
    Links to external websites still work, it's only the links to other local files.  We also tried opening the same file in Foxit Reader, and the links worked just fine.  Only appears to happen in Adobe Reader 11.0.1.
    This is a real pain in the ___!

    Hi efrancen,
    What exactly happens when you click on the hyperlink. Does it give a message that target was not foud. Can you share the PDF or this taget hyperlink.

  • Creating hyperlink to a network file?

    Hello All,
    I am having issues with Adobe Acrobat and hyperlink to a network file.  I am using Acrobat XI and I have successfully created a link to a text that "Open a File" located on our network share.  It works great, when others are executing the PDF from the network share, but when I send the PDF to another user and he/she tries to click the link it adds the local computer path in front of the "original" path of where the file is located.
    Is there a way to correct this? 

    You attached the PDF to the email. The reciepent views the PDF from within the email client/application or saves the attached PDF to the local machine's hard drive. In either case, yes, Acrobat and Reader resolve the link from within context of the local machine.
    Network shares typically are provided a mapped drive.
    Perhaps "X" or "S" or whatever.
    If this is common to all users  then simply place the path shown in the file browser's address bar in the body of the email.
    Example:
    "X:\PDF\Saves\" would, when clicked from within the body of the email, open a file browser session to the "Saves" folder and display whatever files were in the folder.
    Or
    "X:\PDF\Saves\xxxx.pdf" would result in the PDF being opened in the Adobe Reader / Acrobat.
    How a PDF can refer to the contents of another PDF file read section 7.11 File Sepecifications in ISO 32000-1.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_200 8.pdf
    Be well...

  • In MS Access, with hyperlink function to *.HTM file, I get : Firefox doesn't know how to open this address, because the protocol (c) isn't associated with any program

    The objective is to make *.HTM based help screens to open with the default browser, in my case Firefox, but it does not work (as well directly through hyperlink as using event based function)

    That you happen if you try to open a link to a local file on the computer with c:\xxx or c:/xxx<br />
    Such links should be opened with the file: protocol: file:///c:/
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • Fireworks will not open local files

    I use a Web Page to have students navigate to either web
    sites or local (c: drive) files for their classes. I cannot get
    Fireworks to open the local files, but I can create hyperlinks in
    Dreamweaver and they work fine. I am trying to create a popup menu!
    Hyperlink in Dreamweaver =
    file:///C|/mts/course/index_mts.html
    Placed in Fireworks popup menu, will not open the file.
    Any thoughts?

    Please note that Fireworks is an image/web graphic editing
    application, while Dreamweaver is a HTML authoring application.
    Fireworks cannot open HTML files, only Dreamweaver can open
    html files. Fireworks only exports simple HTML-generated for
    certain simple, basic pop-up menus. But it is not recommended,
    though. Best if you create menus in HTML/CSS around Dreamweaver
    than Fireworks.
    quote:
    Originally posted by:
    pjhaction
    I use a Web Page to have students navigate to either web
    sites or local (c: drive) files for their classes. I cannot get
    Fireworks to open the local files, but I can create hyperlinks in
    Dreamweaver and they work fine. I am trying to create a popup menu!
    Hyperlink in Dreamweaver =
    file:///C|/mts/course/index_mts.html
    Placed in Fireworks popup menu, will not open the file.
    Any thoughts?

  • Linking to local files - strange behavior

    Hi all,
    when I insert a link to a local file (using Insert > Hyperlink and then selecting "File" in the dropdown list), then Robohelp changes the absolute path to a relative path when saving the topic. Naturally this link does not work in a CHM.
    I can resolve the issue in the HTML view by changing the path back to an absolute reference such as:
    file://C:/Test/Hello_World.htm 
    Such a link works in the CHM. However, I cannot get it to work in the TOC. I have checked the HHC and can verify that the path still is absolute there, yet the page does not open when clicked.
    Any ideas?
    Robert

    Hi Robert
    This is one purpose or reason you would use Baggage Files.
    Add the file you are linking to as a Baggage File and link to the baggage file.
    This may also have issues inside a CHM output though. But before we delve into the possible issues, give it a try and see if it works for you. It may work straight away. If so, that's great. But if you start seeing issues, post back for more help.
    Cheers... Rick

  • How to launch local files in SIENA

    When I try to open a file (listed in the data source excel table and marked as hyperlink) from a network share in SIENA with a gallery link like this:
    launch("file:///\\server\share\document.pptx") the expected document open in Powerpoint on a splittscreen. When I try the same for a locale file launch("file:///c:\folder\document.pptx") or in this notation launch("file:///\\localhost\share\document.pptx")
    file couldnt open.
    Can anyone tell me how to solve this issue! I'm going crazy with this problem.
    Thanks!

    Hello,
    thanks for the answers! But thats not the answers that I want to hear ;-))
    Ok, will this function be implemented in one of the following Versions of SIENA? 
    And the other thougt is, local files are much more trustworthy then remote files. Wouldn't it make more sense when remote files  are blocked??
    Is there no way to tag the local Zone as Intranet / Internet Zone?
    Thanks for your help!!

  • Selecting the link in local files

    Hi, I have cs5 and before  had mx2004,
    when I work I always used to click on the name of the page (the link) on the local file list,
    then automatically it was higlighted and I just clicked on copy,
    with cs5 when I click on the link its higlighted but leaves the extension out, that makes me
    past the link without the extension, this is very irritating and I dont see the reason to do so.
    Is there a way I can configure this?
    Thanks in advance

    I'm not sure I understand your question.  To add a hyperlink to your web page:
    1. Highlight some text or select an image on your page.
    2. Click inside the Link Field on the HTML properties panel (Ctrl+F3).
    3. Click on the folder (browse) icon next to the Link Field.
    4. Select a file from your local site.  Hit OK.
    Does this help?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • How to run a program as an administrator from within a non-elevated command prompt?

    I have a project that is going to be running on a kiosk, and the user that is running the kiosk software is going to be restricted.  I have an alternate administrator account, but I cannot seem to figure out how to open my program running as this adm

  • Firefox 20 can't always select options in an open select

    I'm getting a strange behaviour in Firefox 20 that I don't see in Firefox 19, but that I can't really find a source for. It's largely repeatable for me, but it's not easy for me to reproduce in other settings. In essence, I can end up with a select t

  • ITunes won't update--says playlists nonexistent

    I had too many songs on iTunes for iPod to carry, so iTunes made a separate playlist. I deleted stuff from my library, then deleted the playlist so it would sync with the whole library again. Now I get a message saying, "iPod could not be updated bec

  • SAP objects transport.

    Hi I want to transport sap include "LZNPA_ODUXX" to production.  when i am clicking on edit button it is giving me error as "changes to LZNPA_ODUXX are forbidden by SAP*" so how to add this include in transport request and send to production.  becaus

  • Capturing Video - Problem is I have an MBA with no Firewire

    Hi, I have a MBA and I know that I cannot download my Video using Final Cut, because I do not have a Firewire port (wasn't thinking of video editing and downloading when I got this machine)! So I am using a PC to capture the Video in an AVI format. F