<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: OData startswith</title><link>https://www.infopathdev.com:443/forums/thread/75687.aspx</link><pubDate>Fri, 24 Feb 2012 01:37:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75687</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75687.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=75687</wfw:commentRss><description>&lt;p&gt;Well.... wouldn&amp;#39;t it be:&lt;/p&gt;
&lt;p&gt;and startswith (&amp;quot;,ContractFilterSelect,&amp;quot;&lt;strong&gt;,&lt;/strong&gt;&amp;#39;&amp;quot;,FilterLetter,&amp;quot;&amp;#39;&amp;quot;) eq true&amp;quot;)&lt;/p&gt;
&lt;p&gt;I bolded the comma, hopefully it shows up.&lt;/p&gt;</description></item><item><title>OData startswith</title><link>https://www.infopathdev.com:443/forums/thread/75681.aspx</link><pubDate>Thu, 23 Feb 2012 22:35:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75681</guid><dc:creator>bsieloff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=75681</wfw:commentRss><description>&lt;p&gt;So, I really like using OData to retrieve information from SharePoint.... so much faster.&lt;/p&gt;&lt;p&gt;I have been working with getting the switch &amp;quot;startswith&amp;quot; to work correctly.&amp;nbsp; I can type directly into the browser and it works fine, but when I try to embed it in infopath, I keep getting an error that the command is not formed correctly.&amp;nbsp; &lt;/p&gt;&lt;p&gt;The command seems to be a bit tricky because I need to add a comma in it; for example;&lt;/p&gt;&lt;p&gt;$filter=startswith(CompanyName,&amp;#39;a&amp;#39;) eq true&lt;/p&gt;&lt;p&gt;the comma in the (x,x) part of the command has me stumpped, any ideas on how to get this command to work correctly in IP?&lt;/p&gt;&lt;p&gt;concat(&amp;quot;&lt;a href="https://sharepoint.company.com/departments/legal/contractmgmt/_vti_bin/listdata.svc/Contracts?$select=Title,CompanyName,Id,CompanyContact,StartDate,ContactUserID&amp;amp;$filter=((Approver1UserID"&gt;https://sharepoint.company.com/departments/legal/contractmgmt/_vti_bin/listdata.svc/Contracts?$select=Title,CompanyName,Id,CompanyContact,StartDate,ContactUserID&amp;amp;$filter=((Approver1UserID&lt;/a&gt; eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver2UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver3UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver4UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver5UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver6UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver7UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39; or Approver8UserID eq &amp;#39;&amp;quot;, FormUserID, &amp;quot;&amp;#39;) and ApprovalPending ne &amp;#39;Completed&amp;#39; and startswith (&amp;quot;,ContractFilterSelect,&amp;quot;&amp;#39;&amp;quot;,FilterLetter,&amp;quot;&amp;#39;&amp;quot;) eq true&amp;quot;)&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;-B&lt;/p&gt;</description></item></channel></rss>