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.

Similar Messages

  • 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

  • How can i make calculation in two file using two parameter

    how can i make calculation in two file using two parameter
    Solved!
    Go to Solution.

    i am having two differnt file, both file having no and time , i want to make programme that when, number and tiome is same in both file give that index onle  in , i am going to attached the file
    Attachments:
    iisc11-jan2010extract.txt ‏1253 KB
    sp3.xlsx ‏12 KB

  • How can i make sure the graphic file from my subcontract create is really llegal?

    how can i make sure the graphic file from my subcontract create is really llegal?
    They have creat the PNG file which creat from Adobe Illustrator CS5.
    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    Thanks

    I have try checking on Metadata In Adobe Bridge, and it seem to be blank.
    So i would likt to know how can i make sure the graphic file from my subcontract create is really llegal?
    shoo: if i had to do that for every file i get  i would go insane, as scott said, post contract: files that they (sub contractor) supply you, presume them ok unless you KNOW otherwise, or a copyright flag pops up contradicting ownership.
    G

  • How can I make Spotlight show the file path

    How can I make Spotlight show the file path in the Spotlight menu for selected file?

    Via Finder certainly, but not in the menu.  You can view the file path in the Spotlight search results display by pressing the ⌘ key (while hovering over a file in the results), though.  The path will display at the bottom of the Quick Look output, or cycle through that location.

  • How can i make quicktime play avi. files?

    pls..how can i make quicktime play avi. files? because i have some avi files on my ipod or data cd but i can't play them on my laptop. pls help me..
    and also, im trying to make a music video but i dont how to select different clips from a movie.

    Hello,
    You can get from Microsoft, the flip4mac free player. Since Windows Media Player for Mac is no longer supported, this is the way to go.
    http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx
    In my opinion, it is by far the best solution for playing .avi or .wmv files, because you get all the advantages of Quicktime.
    regards,
    Jeff
    PowerBook G4 15-inch Double-Layer SD (with lines) 1gb Mac OS X (10.4.6) 3G iPod, iPod Nano, 5G iPod

  • How can I make a small swf file out of InDesign

    I have a 200 page book (PDF). I am trying to make a flip book to preview in web browser. How can I make a small swf file out of InDesign with the PDF I have?

    There is another point:
    if you are using JPEG images together with SWF as output file format, you could get smaller images by:
    1. using the Export For Web menu for generating size optimized JPEGs in PhotoShop opposed to Save As JPEG
    2. stripping all color management (ICC) information off the files (SWF is not very good in color management besides sRGB, I think…)
    Uwe

  • How can I make my Clock.swf file disappear?

    Hi,
    How can I make my Clock.swf file disappear? The following code works great for movie clips but throwing an error while using for .swf files.
    Introduction_mc.visible = false; >>> This code works fine
    Clock.swf.visible = false; >>>> This code throws an error (How to resolve this problem?)
    Please help.

    The easiest way is by targeting the Loader object.
    l.visible = false;
    or
    removeChild(l);
    will both work.  And you can make it visible again if need be using the opposite of those commands.

  • How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

    How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

  • How can I make Adobe Reader 9 open for incoming PDFs instead of Acrobat 5.0?

    How can I make Adobe Reader 9 open for incoming PDFs instead of Acrobat 5.0?

    Hi,
    Assuming that you have Reader 9.3.4 already installed on your machine, you can try the following to make Reader 9.3.4 as the default PDF opening application:
    1. Right click on any PDF on your system and click on the "Open With" Option in the context menu that appears. In case you get another submenu, click on Chose Program in that menu. (In case you do not see any "Open With" option, then hold down the Shift key and right click on the file)
    2. Click on Browse button in the dialog that appears, and select Reader 9. Make sure that you select the checkbox for "Always use the selected program to open this kind of file"
    3. Click on OK.
    This will make Adobe Reader 9 as the default viewer for all PDFs on your system.

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • How can I make "No Proxy" the default for accessing the internet?

    How can I make "No Proxy" the default for accessing the internet?

    *Tools > Options > Advanced > Network : Connection > Settings
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • How can get a database like ****.SQL file for test in sqlplus in oracle8i

    How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks

    I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
    Are you trying to run a SQL file? From SQL*plus you can do either of these:
    SQL> start my_file
    or
    SQL> @my_file
    N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
    SQL> @myfile.run
    Here is the page Vijay referred to:
    Re: Physical storage Checks & adding disk on server. I hope you find it useful.
    You will more helpful links (including links to the Oracle on-line manuals at this page:
    Re: How to attach a java bean in forms6i
    good luck, APC

  • How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway

    How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway. They make it so hard to send a possible review of such.

    http://www.apple.com/support/macbook-bottomcase/

  • How can I make my apple ID valid for purchases other then the Canadian iTunes Store?

    How can I make my apple ID valid for purchases other then the Canadian iTunes Store? I wanted to download the "Wath abc family" app and it said it had to switch me to the american store because the app isnt available in Canada yet. Once it switched me I put in my apple ID and password and thats when it said that my apple ID is only valid in the canadian store and it switched me back. 
    1)
    2)
    3)

    To make purchases in the Mac App Store/iTunes Store for any particular country, you must be a legal resident of that country and supply a credit card issued by a bank in that country with a verifiable billing address in that country. Do you also make those qualifications in the US?
    But as a side note, as one who has that app, you can only watch both ABC and ABC Family shows if you have an account with a US cable or satelite TV company with which to sign into the app. Otherwise you don't qualify to watch shows with it.

Maybe you are looking for

  • Best Program(s) & Order for Problem (Kernel Panic on Start-Up)?

    I started off the problems trying to open a file in Pages ('08). Tried different files and such to try and get it to work, but didn't work. I restarted into single-user mode to boot Applejack to see if my disk had errors again (a previous run had fix

  • 3 hour video for single layer burn

    I have a 3 hour 10 minute Final Cut Pro project that I would like to be able to fit on a single dvd-r, not having dual layer burning capabilities. First of all I don't even know if this is possible without squeezing down the file so much that it's es

  • Erase asynchronous message

    Hi Gurus! i´already schuedule the job in sxmb_adm the deletion jobs               -DEFINE INTERFACES FOR ARCHIVING AND RETENTION PERIODS        -SCHEDULE DELTES JOBS But I can´t find yet, some way to erase asynchronous message, any idea?

  • How to solve parameter passing problem?

    I have a report that can be place on any Portal page and it requires several parameters. The report is based on a query: select bldgname from building where (bldcntry = :cntry or :cntry is null) and (bldstate = :state or :state is null) and (bldcity

  • IPaletteMgrService in CS2 and CS3...

    I try to use IPaletteMgrService in both CS2 and CS3 on the Mac (10.4.x, PPC only or Universal) and I am going no where... as always, I can get it to compile but the call back is not happening.<br /><br />In the class descriptoion table, I have:<br />