Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

Open InfoPath from Outlook

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Mahoney - 12 Apr 2006 21:32 GMT
Hi everyone

I'm trying to create email messages in Outlook that contain links to an
InfoPath form. Currently I'm using the following HTML in my message:

<html>
<head>
<title>InfoPath Launcher</title>
<script language="javascript" type="text/javascript">
function launchInfoPath()
{
objInfoPath = new ActiveXObject("InfoPath.Application");
strXSFPath =
"D:\\VBProjects\\LibraryPhotos\\LibraryPhotos\\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.

Any ideas?

Thanks :)
Chris
Adam Harding - 13 Apr 2006 15:05 GMT
Chris

If the purpose is to Publish the form to the users, go through the publish
wizard and select Notify Users to email them all the link to the template,
that should help.

Cheers Adam

> Hi everyone
>
[quoted text clipped - 27 lines]
> Thanks :)
> Chris
Chris Mahoney - 17 Apr 2006 21:10 GMT
I have a separate app where a user can select to send the form to
another user, and I'm generating the email message from there. I'm
trying to cut down on additional steps and would like it to all be
automated without the users having to manually send things around.

Thanks
Chris
Chris Mahoney - 20 Apr 2006 03:36 GMT
I also posted my question to an Outlook newsgroup, and was told that
Outlook doesn't allow JavaScript for security reasons. I ended up
making a link to an HTML file containing the JavaScript. I'm somewhat
confused as to why they block JavaScript when it's so easy to get
around it, but regardless, it's all working now :)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.