<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Inserting dynamic value into REST URL - contains ""</title><link>https://www.infopathdev.com:443/forums/thread/93362.aspx</link><pubDate>Mon, 30 Sep 2013 14:41:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93362</guid><dc:creator>jbrandenburg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=93362</wfw:commentRss><description>&lt;p&gt;That worked great.&amp;nbsp; Thank you very much, Jimmy!&lt;/p&gt;&lt;p&gt;The final&amp;nbsp;working URL was:&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;http://webapp/_vti_bin/listdata.svc/ProjectList?$filter=substringof(&amp;#39;&amp;quot;, ProjectSearch, &amp;quot;&amp;#39;,&amp;quot;, &amp;quot;ProjectIDAndTitle&amp;quot;, &amp;quot;)&amp;quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks again!&lt;/p&gt;&lt;p&gt;Jesse&lt;/p&gt;</description></item><item><title>Re: Inserting dynamic value into REST URL - contains ""</title><link>https://www.infopathdev.com:443/forums/thread/93343.aspx</link><pubDate>Mon, 30 Sep 2013 05:17:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93343</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=93343</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That URL isn&amp;#39;t going to work because listdata.svc has no idea how to access the contents of your FormLogic data source. You need to use concat() to patch the URL together&amp;nbsp;(you would enter this in the formula builder dialog):&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;webapp/_vti_bin/listdata.svc/ProjectList?$filter=substringof(&amp;#39;&amp;quot;, xdXDocument:GetDOM(&amp;#39;Projectsearch&amp;#39;)/FormLogic/Values/ProjectSearch, &amp;quot;&amp;#39;,ProjectIDAndTitle&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Inserting dynamic value into REST URL - contains ""</title><link>https://www.infopathdev.com:443/forums/thread/93234.aspx</link><pubDate>Tue, 24 Sep 2013 20:29:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93234</guid><dc:creator>jbrandenburg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=93234</wfw:commentRss><description>Hi - I have a data source I would like to filter with a simple search box.  By pressing a &amp;#39;search&amp;#39; button I want to insert the value in the search box into the rest URL and query the data source so only the searched results appear in the dropdown box.  The problem I am having is determining where/how to coordinate the quotation marks to get the formula to work properly.  Here is the formula with hard coded data:
&amp;quot;webapp/_vti_bin/listdata.svc/ProjectList?$filter=substringof(&amp;#39;1001&amp;#39;,ProjectIDAndTitle)&amp;quot;.  ***This works properly, so I want to insert my field which translates into this: 
&amp;quot;webapp/_vti_bin/listdata.svc/ProjectList?$filter=substringof(xdXDocument:GetDOM(&amp;#39;Projectsearch&amp;#39;)/FormLogic/Values/ProjectSearch,ProjectIDAndTitle)&amp;quot;  This results in error due to the quotation marks around &amp;#39;Projectsearch&amp;#39;.  How can I avoid the error?

Thank you!</description></item></channel></rss>