<?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: How do i replace spaces in a link with %20.</title><link>https://www.infopathdev.com:443/forums/thread/102497.aspx</link><pubDate>Tue, 12 May 2015 20:37:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102497</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102497</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Prachi, Thank you very much for the quick response.&amp;nbsp; I tried your fix.&amp;nbsp; By the way I&amp;#39;m not dealing with a repeating table, just a single hyperlink control.&amp;nbsp; I created a On Load rule that said, ON OPEN&amp;nbsp;a secondary field =&amp;nbsp;translate(hyperlinkfield, &amp;#39; &amp;#39;, &amp;#39;%20&amp;#39;).&amp;nbsp; It does alter the link but the&amp;nbsp;problem is that it replaces the space with a single &amp;#39;%&amp;#39; NOT %20.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any idea why? &lt;/p&gt;&lt;p&gt;P.S. we use qRules with several of our clients and it works great, but would not be a fit for this client.&amp;nbsp; they are very... how do I put it, budget aware.&amp;nbsp;&amp;nbsp;&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: How do i replace spaces in a link with %20.</title><link>https://www.infopathdev.com:443/forums/thread/102492.aspx</link><pubDate>Tue, 12 May 2015 17:42:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102492</guid><dc:creator>PrachiSingh07</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102492</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;How about adding a Fx to your link with the function translate(field, &amp;#39; &amp;#39;, &amp;#39;%20&amp;#39;)&amp;nbsp;?&lt;/p&gt;&lt;p&gt;You can add a rule to the repeating control. And, it should fire when the secondary data source gets loaded. Just go to the data source, select the repeating group in your data fields and add the rule there. You could simply add the rule to the link and have it replace, but be careful because it will continue firing so you&amp;#39;ll need to set some other condition so that it only fires once.&lt;/p&gt;&lt;p&gt;If that doesn&amp;#39;t work, then I would suggest you&amp;nbsp;to&amp;nbsp;use qRules &amp;#39;encode&amp;#39; command. That will definitely do the trick.&lt;/p&gt;&lt;p&gt;Hope this helps. Thanks!&lt;/p&gt;&lt;p&gt;- Prachi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How do i replace spaces in a link with %20.</title><link>https://www.infopathdev.com:443/forums/thread/102491.aspx</link><pubDate>Tue, 12 May 2015 17:22:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102491</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102491</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have an InfoPath from created from a SharePoint list.&amp;nbsp; This list is populated by someone uploading a document to a library and entering in the documents metadata.&amp;nbsp; When they save the metadata in the library a workflow populates an item in the list.&amp;nbsp; One of the fields it populates in the list is a link to the document.&amp;nbsp;&amp;nbsp;The user opens the list item, checks the document metadata that was added and then can click on the link to see the document.&amp;nbsp;&amp;nbsp;The issue is that the hyperlink will not work.&amp;nbsp;&amp;nbsp;&amp;nbsp; Hyperlink in the form when the list item is opened up is... /sites/vendor/invoices/ABC Resellers/123456.txt.&amp;nbsp; BUT SharePoint is looking for &amp;quot;/sites/vendor/invoices/ABC%20Resellers/123456.txt&amp;quot;.&amp;nbsp; The link in the InfoPath forms is missing the %20 where the space is.&amp;nbsp; How do I replace all spaces with %20? &lt;/p&gt;&lt;p&gt;This seems to be a common problem, I&amp;#39;ve found references to it in several forums but no answers as to how to fix it. &lt;/p&gt;&lt;p&gt;Thanks&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></channel></rss>