<?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: Validating Data using External Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/43988.aspx</link><pubDate>Wed, 08 Jul 2009 22:26:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43988</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=43988</wfw:commentRss><description>&lt;p&gt;So, what would you like the form to do if it isn&amp;#39;t valid? Or if it is?&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t want to store the evaluation code in the form, but you say &amp;quot;I want infopath to compare evaluation code (In form), match it to the evaluation code in the Sharepoint list to determine if the pay increase amount is valid&amp;quot;, which confuses me a little bit.&lt;/p&gt;
&lt;p&gt;In general, you should be able to use a rule to compare the evaluation code in the form (if it is in the form) to the data returned from your Sharepoint list and get back the pay increase amount from&amp;nbsp;that data source. I&amp;#39;m including a simple sample that uses an xml file for a secondary data connection so you can look at it. You&amp;#39;ll see there is a filter on the field that I am using in the rule on the eval code field. That is what you&amp;#39;ll want to look at more closely to implement in your form.&lt;/p&gt;
&lt;p&gt;Right click the link in the header, and select save as. Save the sample locally, and then right click the saved copy and select Design. Preview it and select an eval code from the dll -- the percent will populate in the text box below.&lt;/p&gt;</description></item><item><title>Validating Data using External Sharepoint List.</title><link>https://www.infopathdev.com:443/forums/thread/43883.aspx</link><pubDate>Tue, 07 Jul 2009 16:29:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43883</guid><dc:creator>TiltnSpill</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=43883</wfw:commentRss><description>&lt;p&gt;I want to create a form that uses an external sharepoint list for validation.&lt;/p&gt;
&lt;p&gt;The information in the sharepoint list is confidential and I don&amp;#39;t want it stored in the InfoPath form.&amp;nbsp; (Sharepoint list houses 2 columns, Evaluation code (number)&amp;nbsp;and Maximum pay increase (Percentage)&lt;/p&gt;
&lt;p&gt;IE-&amp;nbsp; A person receiving an evaluation code of 1 is eligible for a 0% pay increase.&lt;/p&gt;
&lt;p&gt;How do I validate against information in the sharepoint list without storing it in the INFOPATH form?&amp;nbsp;&amp;nbsp; For example... User of the form enters a pay increase request amount. (Of X percent.)&amp;nbsp; After entering request amount, I want infopath to compare evaluation code (In form), match it to the evaluation code in the Sharepoint list to determine if the pay increase amount is valid.&lt;/p&gt;
&lt;p&gt;My problem is I can&amp;#39;t seem to filter the validation based on evaluation code. (A person with a Eval code of 1 is still showing as eligible for a raise...)&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;**EDIT** - I believe i need to create a rule based on an expression.&amp;nbsp; The only problem is I don&amp;#39;t know how to use Xpath.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>