From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-10-2012 05:05 PM
Has anybody gotten this VI to work? I have tried under latest version of IE and Firefox.
It copies the file but I never get the prompt to Save the file ... The Content-Disposition from HTTP forums say this should work.
I have code snippet in HTML file I wrote that verifies the browser prompts for file to save.
05-11-2012 11:21 AM
Hi RGSchmidt,
I just tested the VI in Chrome and IE and it seemed to work fine.
Is your browser setup to save to a default location? My Chrome is so the file was simply downloaded to my default downloads directory, without a prompt. Is this what you are seeing?
Have a great day,
Chris V
05-11-2012 01:13 PM
Hi Chris,
I never see the prompt or the file downloaded in IE or Firefox.
Randy
05-11-2012 01:19 PM
If you load the web service URL directly in your web browser (not in UI Builder with the hyperlink control), do you get the download prompt then?
I wonder if it could be a popup blocking issue or something like that.
05-11-2012 01:30 PM
Great idea ... It worked by directly loading the URL that is passed into the GET function in the vix file called from the Web UI in both Firefox and IE
Where could the issue be, I am very confused
05-11-2012 01:46 PM
I tried it in Firefox in UI Builder and got the download prompt too. I have Block pop-windows on in Firefox but I still had no issues.
In your hyperlink control's properties, is TargetName still "_blank"?
05-11-2012 01:50 PM
Not sure where to find the hyperlink control properties ....
05-11-2012 01:53 PM
In the Properties window on the right side of your screen, you should find TargetName in the Behavior section.
If you don't see it there, you can hit the sideways Properties button, or bring it back if closed from View ribbon tab > View Panes > Properties.
It sounds like you haven't changed TargetName though, so that probably isn't the problem. Can't think of other issues that would cause this though.
05-11-2012 01:58 PM
Do not see TargetName in the Properties window ... but I changed little if anything for the properties.
05-11-2012 03:23 PM
I'm attaching an editor screenshot for configuring the hyperlink - can you confirm that your control has all of the red boxed properties set up correctly? Another possibility is that you put the URL in the "Content" (link text) rather than the Target URL, then nothing would happen when you clicked it.