<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/36017.aspx</link><pubDate>Thu, 18 Dec 2008 10:06:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36017</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=36017</wfw:commentRss><description>&lt;p&gt;Awesome! It works!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/35920.aspx</link><pubDate>Wed, 17 Dec 2008 15:51:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35920</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35920</wfw:commentRss><description>&lt;p&gt;No, there is no install - this web service is exposed by SharePoint out-of-the-box.&amp;nbsp; You just have to know how to use it.&amp;nbsp; Since I can&amp;#39;t take credit for figuring out how to leverage this amazing resources without code, I will link you to the place I went to learn it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx"&gt;http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Go through those steps and see if it works for you.&amp;nbsp; I use it on every form and absolutely love it, so I can probably help you with tips and tricks if you struggle.&lt;/p&gt;</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/35889.aspx</link><pubDate>Wed, 17 Dec 2008 07:20:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35889</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35889</wfw:commentRss><description>&lt;p&gt;Both are good!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;We are using MOSS 2007 and Infopath 2007.&lt;/p&gt;
&lt;p&gt;Can you tell me how to use this UserProfileService?&lt;/p&gt;
&lt;p&gt;Is there something to install? Because as I work for multiple client, the less we modify their environment (with installations, etc...) the better it is!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Xavier&lt;/p&gt;</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/35873.aspx</link><pubDate>Wed, 17 Dec 2008 00:42:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35873</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35873</wfw:commentRss><description>&lt;p&gt;Are you sure you need Outlook Properties, or are you talking about Active Directory properties?&amp;nbsp; I think maybe because you look at Outlook properties to get this info, you are referring to it by that name?&amp;nbsp; If you want to automatically retrieve any and all Active Directory information relevant to an individual and are using MOSS 2007, then you can easily do it through the UserProfileService without writing any code.&amp;nbsp; Department is one of the main values available via this web service.&amp;nbsp; If this is what you mean, then let me know - it&amp;#39;s easy and awesome.&amp;nbsp; If not, then pardon the interruption.&amp;nbsp; :)&lt;/p&gt;</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/35797.aspx</link><pubDate>Tue, 16 Dec 2008 10:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35797</guid><dc:creator>belote82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35797</wfw:commentRss><description>&lt;p&gt;Is it possible to get it work in jscript?&lt;/p&gt;
&lt;p&gt;I have to know the department property from outlook in my form...&lt;/p&gt;
&lt;p&gt;Otherwise, is it possible to get the group from the active directory in jscript?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you so much&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Xavier&lt;/p&gt;</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/6955.aspx</link><pubDate>Fri, 10 Jun 2005 13:51:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6955</guid><dc:creator>Haros</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6955</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I got it to work with some VBScript.&lt;br /&gt;You have to be logged on to Outlook to get it to work.&lt;br /&gt;Now I have another problem and that is to get the script file&lt;br /&gt;script.vbs in my template together with a script.js file.&lt;br /&gt;I can't seem to get it in there when I allready have a js file.&lt;br /&gt;If someone can help me with that I would appreciate it.&lt;br /&gt;&lt;br /&gt;Here is my VBScript:&lt;br /&gt;&lt;br /&gt;Sub XDocument_OnLoad(eventObj)&lt;br /&gt;  Dim cdoSession 'As MAPI.Session&lt;br /&gt;  Dim cdoAddrEntry 'As AddressEntry&lt;br /&gt;  Dim strData  'as string&lt;br /&gt;&lt;br /&gt;  'VBScript does not recognize constants!&lt;br /&gt;  ' Define them explicitly or use their value.&lt;br /&gt;  dim CdoPR_DISPLAY_NAME&lt;br /&gt;  dim CdoPR_EMAIL&lt;br /&gt;  dim CdoPR_INITIALS&lt;br /&gt;  dim CdoPR_GIVEN_NAME&lt;br /&gt;  dim CdoPR_SURNAME&lt;br /&gt;  Dim vbCRLF&lt;br /&gt;&lt;br /&gt;  CdoPR_DISPLAY_NAME = &amp;H3001001E&lt;br /&gt;  CdoPR_EMAIL = &amp;H39FE001E&lt;br /&gt;  CdoPR_INITIALS = &amp;H3A0A001E&lt;br /&gt;  CdoPR_GIVEN_NAME = &amp;H3A06001E&lt;br /&gt;  CdoPR_SURNAME = &amp;H3A11001E&lt;br /&gt;  vbCRLF = chr(13) &amp; chr(10)&lt;br /&gt;&lt;br /&gt;  on error resume next&lt;br /&gt;&lt;br /&gt;  'Start the CDO code to find a match.&lt;br /&gt;  Set cdoSession = CreateObject("Mapi.session")&lt;br /&gt;  cdoSession.Logon ,,false,false,0   'Use the existing Outlook session.&lt;br /&gt;  if err.number &amp;lt;&amp;gt; 0 then msgbox "ERROR in logon: " &amp; err.number &amp; vbCRLF &amp; err.description&lt;br /&gt;&lt;br /&gt;  'Get the AddressEntry of the recipient/current user.&lt;br /&gt;  Set cdoAddrEntry = cdoSession.CurrentUser&lt;br /&gt;  if err.number &amp;lt;&amp;gt; 0 then msgbox "ERROR getting AddressEntry: " &amp; err.number &amp; vbCRLF &amp; err.description&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  'Get properties.&lt;br /&gt;  strData = "Name: " &amp; cdoAddrEntry.fields(CdoPR_DISPLAY_NAME)&lt;br /&gt;  strData = strData &amp; vbCRLF &amp; "E-Mail: " &amp; cdoAddrEntry.fields(CdoPR_EMAIL)&lt;br /&gt;  strData = strData &amp; vbCRLF &amp; "First name: " &amp; cdoAddrEntry.fields(CdoPR_GIVEN_NAME)&lt;br /&gt;  strData = strData &amp; vbCRLF &amp; "Initials: " &amp; cdoAddrEntry.fields(CdoPR_INITIALS)&lt;br /&gt;  strData = strData &amp; vbCRLF &amp; "Last name: " &amp; cdoAddrEntry.fields(CdoPR_SURNAME)&lt;br /&gt;&lt;br /&gt;If XDocument.DOM.selectSingleNode("//my:Status").text = "New" Then&lt;br /&gt;&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:DisplayName").text = cdoAddrEntry.fields(CdoPR_DISPLAY_NAME)&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:Email").text = cdoAddrEntry.fields(CdoPR_EMAIL)&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:Initials").text = cdoAddrEntry.fields(CdoPR_INITIALS)&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:GivenName").text = cdoAddrEntry.fields(CdoPR_GIVEN_NAME)&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:SurName").text = cdoAddrEntry.fields(CdoPR_SURNAME)&lt;br /&gt;  XDocument.DOM.selectSingleNode("//my:Status").text = "Old"&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;  &lt;br /&gt;  'Explicitly release objects.&lt;br /&gt;  cdoSession.logoff&lt;br /&gt;&lt;br /&gt;  Set cdoAddrEntry = Nothing&lt;br /&gt;  Set cdoSession = Nothing&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans</description></item><item><title>Re: Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/6954.aspx</link><pubDate>Thu, 09 Jun 2005 19:01:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6954</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6954</wfw:commentRss><description>Hi Haros, &lt;br /&gt;Welcome to the Forum!&lt;br /&gt;I dont think we can really get the values from the Outlook properties using InfoPath SDK. &lt;br /&gt;Probably it is possible to get data from Outlook using .net code.&lt;br /&gt;&lt;br /&gt;Please post here if you find anything intresting.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Outlook and InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/4704.aspx</link><pubDate>Thu, 09 Jun 2005 08:51:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4704</guid><dc:creator>Haros</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4704.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4704</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;When a user opens a form I would like their Outlook properties,&lt;br /&gt;E-mail address, First and last name to be filled in automatically in fields in the form.&lt;br /&gt;How can I do that?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans</description></item></channel></rss>