Hyper Link That Opens .OFT in Outlook - html

I have some Outlook .oft template files uploaded to a web server.
Is it possible to create a link to the individual files that will result in them opening in outlook?
I have thus far only managed to create straight up HTML links that simply downloads them to folder.
Is it possible to create a link that associates the .oft file with outlook and therefore executes it and opens it as the email ready to send.
Thanks

I am not sure I understand the problem - if Outlook is installed, it associates .OFT files with itself. If a link points to an OFT file, opening the file will launch Outlook.
If you mean to bypass the Save/Open prompt in a browser, I don't think there is a way to do that.

When you click the link and it shows the download right click and say always open this kind of file then click to open. After that everytime someone clicks the link it will just open up.

Related

Html link to open and reply to .eml file

I'd like to add a "Reply" button in my web application which can open a .eml email in the user's default mail application (eg Outlook), and hit "Reply".
mailto is clearly not an option since html bodies don't seem to be possible.
Any easy way to do this? Note that the server does have the .eml file

How to force a Download File prompt instead of displaying it in-browser with HTML?

Download
If I click Download button, this target blank is opening a new window.
But I need it to prompt a dialog for saving this file. How can I achieve this?
This is something that you cannot absolutely control with HTML itself.
If the user is having a browser with PDF reading capabilities (or a plugin) and the corresponding settings to open PDF files in-browser, the PDF will open like that.
The PDF opens in a new tab simple because of your target="_blank", which has nothing to do with a download prompt.
If you are using HTML5 you can use the download attribute:
Download
If you have a back-end service which you can control or you feel like fiddling with your Web Server, you can always look for setting the right Content-Disposition. See this SO question for some nice discussion on Content-Disposition.

Web page not save correctly in google chrome browser

When I try to save a web page using the format "Web Page, Complete," half of the time it only saves the the folder containing the style sheet and images, and the .html file is not saved anywhere on my hard drive. How do I correct this? I have noticed it also happens when I use Safari, so it is not just an isolated issue with Google Chrome.
First save the whole page (webpage,complete) which may only save the folder containing the style sheets and images, again press CTRL+S to save the page but this time select to save only the HTML page by clicking on- (webpage,HTML only).
When directory is saved but not the file, try the following:
In "File name:" include the .html extension (example:
SampleFileName.html), and
Select Webpage, Complete in "Save as Type:"
Seems to fix the bug.

HOW TO Use .DRF as a target / link

I am creating an intranet site at work and would like to link button to files that are in a document management environment (Open Text). I created a .DRF (which is just a reference to the file in the DM). I want the user to be able to click a button and the document to either open or download from the DM. I know I can simply copy the docs and put them in the folder with my pages but that defeats the purpose of the DM.
I know the .DRF works because I can click it and the file opens but when I use it as the target or an href it just opens a page in the browser with the doc #. If any one has any experience with this I would appreciate some pointers.
Here is the code I'm using
<a><form method="get" action="DOCS-94710.DOC.DRF" target="_blank">
<button type="submit">94710</button>
</form></a>
Thanks,
Shannon
I discovered a solution while we were setting up our intranet. Create a repository folder on your intranet, upload your (DM) drf files to your intranet, and hyperlink them internally to your intranet. If you have created them properly, it will know which native app to launch it in and would respect the security settings the way you set them up in DM. This was a game changer and works with both IE and Chrome browsers.

Hyperlink to a network share

My scenario is this:
I have two network shares (on the same network) that I would like to construct them as a A HREF network share. I tried to make it work with all the solutions given here but couldn't succeeed. These A HREF links are generated on the fly thru a application and sent as a HTML Outlook e-mail. I wanted the link to look like this in the Outlook HTML e-mail.
\\remote_machine_name\sharename1\Windows\notepad.exe \\remote_machine_name\sharename2\SCANDISK.acc
So, all I need is make notepad.exe open on the remote machine along with SCANDISK.acc open on the same remote machine and as a input to notepad.exe. Please note that the remote machines are same both for notepad.exe and for the .acc file but the share names are different.
Btw, I'm also thinking of another possibility of generating javascript code on the fly from the application and take the .acc file as an input and in the javascript method, open notepad.exe and input .acc file to it. Will this work?
As a side note, whenever I click on the .acc file link in the HTML Outlook e-mail, I'm getting a warning from Outlook with a dialog that shows (Open, Save and Cancel).
Please help.
You'll want to do something like this:
file://///servername/sharename/path/to/file/file.ext
There are five slashes after file: and they mean: /// for the file protocol and // for the path to the server. A normal windows path would be like this:
\\servername\sharename\path\to\file\file.ext
All you need to do is reverse the slashes and append it to file:///
Weird answer that works for on new Edge
Im new to HTML and coding in general but i got this to work using this code
make sure you add (<)p(>)(<)a(>) but without () and before href
cant show it all together otherwise it will not show the code on here
href="\server\folder\location" target="_blank" rel="noreferrer noopener">test
The code is a website link opener that will open said folder in a new browser tab.
"test" being the visual hyperlink name that users will click on. This should work on cloud drives in your intranet as well local drives.