<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/36192.aspx</link><pubDate>Tue, 23 Dec 2008 12:17:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36192</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36192</wfw:commentRss><description>&lt;p&gt;Was wondering how you solved the adding fields values into an InfoPath email data connection that you posted back in January.&amp;nbsp; You say that you solved it, but no resolution was added.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I would like to do something very simililar if possible in InfoPath 2003 and Outlook.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25513.aspx</link><pubDate>Wed, 09 Jan 2008 20:51:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25513</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25513.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25513</wfw:commentRss><description>&lt;p&gt;I have solved this issue - Thanks for your support / help &lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25511.aspx</link><pubDate>Wed, 09 Jan 2008 19:49:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25511</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25511</wfw:commentRss><description>&lt;p&gt;I am still having issues trying to get this to work:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I still need to submit data into the intro (body of email) in infopath 2003 - &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using the code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;var mail = XDocument.DataAdapters(&amp;quot;Submit&amp;quot;);&lt;/p&gt;
&lt;p&gt;var NTID = XDocument.DOM.selectSingleNode(&amp;quot;//my:myFields/my:group1/my:txtUserNTID.text&amp;quot;); var CPU = XDocument.DOM.selectSingleNode(&amp;quot;//my:myFields/my:group1/my:txtComputerName.text&amp;quot;); mail.Intro = CPU &lt;br /&gt;Submit();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;None of this is working correctly - any comments? &lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25272.aspx</link><pubDate>Fri, 21 Dec 2007 21:35:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25272</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25272</wfw:commentRss><description>&lt;p&gt;Adding More in what i have done:&lt;/p&gt;
&lt;p&gt;//=======&lt;br /&gt;// The following function handler is created by Microsoft Office InfoPath.&lt;br /&gt;// Do not modify the name of the function, or the name and number of arguments.&lt;br /&gt;//=======&lt;br /&gt;function CTRL136_5::OnClick(eventObj)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;var mail = XDocument.DataAdapters(&amp;quot;TEST-NOCC&amp;quot;);&lt;br /&gt;var oOSOA = XDocument.DOM.selectSingleNode(&amp;quot;/myFields/secProcessorInfo/fldOSOA.text&amp;quot;);&lt;br /&gt;var oLocation = XDocument.DOM.selectSingleNode(&amp;quot;/myFields/secProcessorInfo/fldLocation.text&amp;quot;);&lt;br /&gt;var otestme= 31223&lt;br /&gt;mail.Intro = oLocation&lt;br /&gt;mail.Submit();&lt;/p&gt;
&lt;p&gt;when i make mail.Intro = otest me it works fine&lt;br /&gt;using&amp;nbsp;the oLocation or oOSOA&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get type mismatch&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I still can not figure out what I have done wrong&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25270.aspx</link><pubDate>Fri, 21 Dec 2007 19:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25270</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25270</wfw:commentRss><description>&lt;p&gt;I am still confused on this, from what i have seen every example is:&lt;/p&gt;
&lt;p&gt;Xdocument.DOM.SelectSingleNode(&amp;quot;my:myfields/my:comments&amp;quot;)) &lt;/p&gt;
&lt;p&gt;I amnot using the my: as it gives me an error it is undefined. but I do not know what to define it as. &lt;/p&gt;
&lt;p&gt;Could that be my issue?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The way my form is set up now is i have a section and the fields inside of this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25269.aspx</link><pubDate>Fri, 21 Dec 2007 19:05:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25269</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25269</wfw:commentRss><description>&lt;p&gt;I have tried the above OSOA.text and i get &amp;quot;object required&amp;quot;&lt;/p&gt;
&lt;p&gt;But I do apprecaite your help so far. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25268.aspx</link><pubDate>Fri, 21 Dec 2007 18:52:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25268</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25268</wfw:commentRss><description>&lt;p&gt;OK, paying more attention now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Try&lt;/p&gt;
&lt;p&gt;Mail.Into = OSOA.text&lt;/p&gt;
&lt;p&gt;Your assignments are to the fields not the values.&lt;/p&gt;
&lt;p&gt;Also could add .text when you assign the variable so it it a text value.&lt;/p&gt;
&lt;p&gt;Look at some other code example at how to reference field values in code.&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25266.aspx</link><pubDate>Fri, 21 Dec 2007 18:45:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25266</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25266.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25266</wfw:commentRss><description>&lt;p&gt;Seems I am still having zero luck. &lt;/p&gt;
&lt;p&gt;using code:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//=======&lt;br /&gt;// The following function handler is created by Microsoft Office InfoPath.&lt;br /&gt;// Do not modify the name of the function, or the name and number of arguments.&lt;br /&gt;//=======&lt;br /&gt;function CTRL136_5::OnClick(eventObj)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;var mail = XDocument.DataAdapters(&amp;quot;TEST-NOCC&amp;quot;);&lt;br /&gt;var OSOA = XDocument.DOM.selectSingleNode(&amp;quot;//myFields/secProcessorInfo/fldOSOA&amp;quot;);&lt;br /&gt;var Location = XDocument.DOM.selectSingleNode(&amp;quot;//myFields/secProcessorInfo/fldLocation&amp;quot;);&lt;br /&gt;mail.Intro = &amp;quot;MY TEXT HERE&amp;quot;&lt;br /&gt;mail.Submit();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get the &amp;quot;MY TEXT HERE&amp;quot; In the Body of the email&lt;/p&gt;
&lt;p&gt;Now if i try: &lt;/p&gt;
&lt;p&gt;Mail.Intro = OSOA&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get a type mismatch error on that line&lt;/p&gt;
&lt;p&gt;Of i try:&lt;/p&gt;
&lt;p&gt;mail.Intro = concat(OSOA); &lt;/p&gt;
&lt;p&gt;I get Object expected&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Eventually I will need Body to have:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Location: LocationA (or what is in the Location text box)&lt;br /&gt;OSOA: (whatever is in the OSOA text box)&lt;/p&gt;
&lt;p&gt;i will need about a dozen more fields, but if i can get two working, rest should be easy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25259.aspx</link><pubDate>Fri, 21 Dec 2007 18:03:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25259</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25259</wfw:commentRss><description>&lt;p&gt;I would insert a line for a MSGBOX(oOSOA) or Alert() etc after each line to verify you are getting the field values and the concatenated value is correct. Can&amp;#39;t remember which command does a pop up message in VBS but at least then you can see what is transpiring.&amp;nbsp; Is &amp;amp; the right choice for concatenation?&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25258.aspx</link><pubDate>Fri, 21 Dec 2007 17:27:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25258</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25258</wfw:commentRss><description>&lt;p&gt;When I use this code I get 0 in the Intro:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;//=======&lt;br /&gt;// The following function handler is created by Microsoft Office InfoPath.&lt;br /&gt;// Do not modify the name of the function, or the name and number of arguments.&lt;br /&gt;//=======&lt;br /&gt;function CTRL136_5::OnClick(eventObj)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;var mail = XDocument.DataAdapters(&amp;quot;TEST-NOCC&amp;quot;);&lt;br /&gt;var oOSOA = XDocument.DOM.selectSingleNode(&amp;quot;//myFields/secProcessorInfo/fldOSOA&amp;quot;);&lt;br /&gt;var oLocation = XDocument.DOM.selectSingleNode(&amp;quot;//myFields/secProcessorInfo/fldLocation&amp;quot;);&lt;br /&gt;mail.Intro = (oOSOA &amp;amp; oLocation);&lt;br /&gt;mail.Submit();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;however if I do &lt;/p&gt;
&lt;p&gt;mail.Intro=(&amp;quot;TEST&amp;quot;); i do get test to come up&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25257.aspx</link><pubDate>Fri, 21 Dec 2007 16:52:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25257</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25257</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/3645/12813.aspx#12813"&gt;http://www.infopathdev.com/forums/p/3645/12813.aspx#12813&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/3782/14800.aspx#14800"&gt;http://www.infopathdev.com/forums/p/3782/14800.aspx#14800&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are some related posts to get you started.&lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25256.aspx</link><pubDate>Fri, 21 Dec 2007 16:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25256</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25256</wfw:commentRss><description>&lt;p&gt;I appreciate it but seems I can not find anything that has worked so far!&lt;/p&gt;
&lt;p&gt;I am not sure what I am doing wrong.. &lt;/p&gt;</description></item><item><title>Re: Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25255.aspx</link><pubDate>Fri, 21 Dec 2007 15:55:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25255</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25255.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25255</wfw:commentRss><description>&lt;p&gt;Welcome to the forum Scott.&lt;/p&gt;I am pretty sure, that with code, you could customize the Intro of the email to include your fields. mail.Intro but you should be able to search on the site here for posts on email and code.</description></item><item><title>Select fields in Body of Outlook Email (2003)</title><link>https://www.infopathdev.com:443/forums/thread/25253.aspx</link><pubDate>Fri, 21 Dec 2007 15:00:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25253</guid><dc:creator>ScottD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25253</wfw:commentRss><description>&lt;p&gt;I am using Office 2003 and in an infopath form when they submit the form, i still need the attachment to be sent,&lt;/p&gt;
&lt;p&gt;However, I need a way to pull certain fields from it and put into body of emai, prefer plain text&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;Name:&lt;br /&gt;Address:&lt;br /&gt;Phone:&lt;br /&gt;Customer #:&lt;/p&gt;
&lt;p&gt;I would like to have the above text bolded - But i am new to jscript and cant figure it out!&lt;br /&gt;and searched this and usenet with out finding anything that works!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Aprreciate the help[ and time!&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>