C
Chris Mahoney
Hi
I'm on a LAN, and all users have Outlook 2003. I'm trying to create an
email message which includes a link to open an InfoPath form. I'm
currently using the following code:
<html>
<head>
<title>InfoPath Launcher</title>
<script language="javascript" type="text/javascript">
function launchInfoPath()
{
objInfoPath = new ActiveXObject("InfoPath.Application");
strXSFPath = "D:\\Path\\manifest.xsf";
objInfoPath.XDocuments.NewFromSolution(strXSFPath);
}
</script>
</head>
<body>
Click <a href="javascript:launchInfoPath();">here</a> to open form.
</body>
</html>
That code works perfectly in IE (InfoPath opens and the form appears),
but not in Outlook. When you click the link, IE opens for a
split-second then closes itself, and InfoPath doesn't start at all.
Outlook seems to be disabling (some of?) the JavaScript, yet I can't
find any settings for it.
Does anyone have any suggestions? I've already asked in
microsoft.public.infopath but nobody could help
Thanks
Chris
I'm on a LAN, and all users have Outlook 2003. I'm trying to create an
email message which includes a link to open an InfoPath form. I'm
currently using the following code:
<html>
<head>
<title>InfoPath Launcher</title>
<script language="javascript" type="text/javascript">
function launchInfoPath()
{
objInfoPath = new ActiveXObject("InfoPath.Application");
strXSFPath = "D:\\Path\\manifest.xsf";
objInfoPath.XDocuments.NewFromSolution(strXSFPath);
}
</script>
</head>
<body>
Click <a href="javascript:launchInfoPath();">here</a> to open form.
</body>
</html>
That code works perfectly in IE (InfoPath opens and the form appears),
but not in Outlook. When you click the link, IE opens for a
split-second then closes itself, and InfoPath doesn't start at all.
Outlook seems to be disabling (some of?) the JavaScript, yet I can't
find any settings for it.
Does anyone have any suggestions? I've already asked in
microsoft.public.infopath but nobody could help
Thanks
Chris