<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Need Allow Users Attach Only Permissable File Types</title><link>https://www.infopathdev.com:443/forums/thread/78920.aspx</link><pubDate>Thu, 24 May 2012 17:32:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78920</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=78920</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll download the file and then have to open it in design mode - IP forms HATE to be moved. So save the file locally, then right click it, and select Design. That opens it in design mode...&lt;/p&gt;
&lt;p&gt;And yes, new post for a question on another topic is usually what folks do here...&lt;/p&gt;</description></item><item><title>Re: Need Allow Users Attach Only Permissable File Types</title><link>https://www.infopathdev.com:443/forums/thread/78917.aspx</link><pubDate>Thu, 24 May 2012 17:10:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78917</guid><dc:creator>infopathy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=78917</wfw:commentRss><description>&lt;p&gt;Thank you for the help. Reading your reply I realize I left out some key information: 1)&amp;nbsp;Am using InfoPath 2007, 2) Am going to publish my form to an internal SharePoint document library, 3) Am using both a field for the user to enter the name of the file they are attaching and 4) Have done as you say and restricted allowable file type in the attachment control to .xls, .xlsx and .txt.&lt;/p&gt;
&lt;p&gt;I decided that it would be good to also enforce these file extensions in the file name field and came very close to guessing at what you provided but not quite. I appreciate your clearing that cloud. By the way I downloaded your sample file but was unable to open it. I entered my infopathdev user name and password but was rejected. Is there another way or another set of credentials&amp;nbsp;I need to get at your file? I got it to work. Thanks again. I have another question but will create another post as I suppose that is the correct protocol in these sites.&lt;/p&gt;</description></item><item><title>Re: Need Allow Users Attach Only Permissable File Types</title><link>https://www.infopathdev.com:443/forums/thread/78895.aspx</link><pubDate>Thu, 24 May 2012 01:47:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78895</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=78895</wfw:commentRss><description>&lt;p&gt;Hmmm.&lt;/p&gt;
&lt;p&gt;If you are using a filler form (i.e., your form is not going to be used in the browser), you can restrict the file types on the file attachment control itself - that will be under properties.&lt;/p&gt;
&lt;p&gt;Since we can&amp;#39;t set conditional formatting on a file control - I&amp;#39;d actually put it in a section, and then hide it. To hide it, I&amp;#39;d use conditional formatting with a custom pattern.&lt;/p&gt;
&lt;p&gt;So, for the first drop down in your conditional formatting, select the field that has the file name. For the middle drop down, select &amp;quot;does not match pattern&amp;quot;. For the third, select custom pattern. The custom pattern would be:&lt;br /&gt;.*(\.xls|\.xlsx|\.txt)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a simple sample form - save it locally, and right click the saved file to open in design mode. From there, you can preview.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Need Allow Users Attach Only Permissable File Types</title><link>https://www.infopathdev.com:443/forums/thread/78889.aspx</link><pubDate>Thu, 24 May 2012 00:24:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78889</guid><dc:creator>infopathy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=78889</wfw:commentRss><description>&lt;p&gt;First, I am new to InfoPath 2007 and self-teaching so pardon my inability to explain myself like a pro.&lt;/p&gt;
&lt;p&gt;I want to enable an attach file control but only if another field contains a file name with one of three possible extension: .xls, .xlsx or .txt; otherwise I want attach file disabled.&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;for the&amp;nbsp;help.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>