<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Linking a SaveToSharePoint file</title><link>https://www.infopathdev.com:443/forums/thread/80898.aspx</link><pubDate>Mon, 23 Jul 2012 17:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80898</guid><dc:creator>hdumont</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80898</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Definitely could not get hide/show to work on the hyperlink within a section (adding the conditional formatting to the section itself of course)...&amp;nbsp; It was just always there regardless of the conditions.&lt;/p&gt;
&lt;p&gt;HOWEVER..&amp;nbsp; I added my &amp;#39;View Final&amp;quot; button, put in the formula concat(&amp;quot;OpenUrlInBrowser /url=&amp;quot;,@qRulesLink) - WORKED LIKE A DREAM!&amp;nbsp;&amp;nbsp;Took off the formatting of the button - no shading, no outline, make it blue, underline&amp;nbsp;and wah-lah!&amp;nbsp; A fake link :)&amp;nbsp; The conditional formatting on the button works as expected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are a genius!&amp;nbsp; Thank you &lt;strong&gt;SO&lt;/strong&gt; much!!&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Linking a SaveToSharePoint file</title><link>https://www.infopathdev.com:443/forums/thread/80897.aspx</link><pubDate>Mon, 23 Jul 2012 17:43:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80897</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80897</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;You&amp;#39;ve listed four ideas, so let me share my thoughts on each:&lt;/p&gt;&lt;p&gt;1. I would set up a hyperlink but within a section, and I would then add conditional formatting to the section itself. (Which might be what you did for idea #4, not sure).&lt;/p&gt;&lt;p&gt;2. I don&amp;#39;t think this would work.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. This should work. Is the command returning an error, or is InfoPath not accepting the rule? I think you would need to click fx first, then enter concat(&amp;quot;OpenUrlInBrowser 
/url=&amp;quot;,@qRulesLink). Can you try that?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. See #1. If there&amp;#39;s a hyperlink within a section, conditional formatting should allow to hide/show the section.&lt;br /&gt;&lt;/p&gt;Good luck!&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Linking a SaveToSharePoint file</title><link>https://www.infopathdev.com:443/forums/thread/80886.aspx</link><pubDate>Mon, 23 Jul 2012 15:44:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80886</guid><dc:creator>hdumont</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=80886</wfw:commentRss><description>&lt;p&gt;Hello All!&lt;/p&gt;
&lt;p&gt;First I&amp;#39;d like to say, lurking around this forum has been an absolute dream for what I&amp;#39;ve been trying to accomplish with this form.&lt;/p&gt;
&lt;p&gt;My goal:&amp;nbsp; I have successfully used the SaveToSharePoint command to upload a file to sharepoint.&amp;nbsp; It then links the file, which is great.&amp;nbsp; It&amp;#39;s part of a repeating table, which is also working fine.&amp;nbsp; What I need is to create&amp;nbsp;a button that essentially says &amp;quot;Approve&amp;quot; and copies the link for the linked file in my table (it copies the top one, obviously, which is fine...&amp;nbsp; I&amp;#39;d like it to be the bottom row, but can live with it being the top one) to another section of the form called Final Document.&amp;nbsp; Obviously I would like the document link in the Final section to be hidden until the Approve button is clicked.&lt;/p&gt;
&lt;p&gt;I have tried &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; - setting up a hyperlink as directed in the SaveToSharePoint help guides, but formatting rules are not an option for hyperlinks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - using the Approve button to trigger setting a rich text field value to be @qRulesLink.&amp;nbsp; Result:&amp;nbsp; the plain text URL for the saved document, no matter what I change the settings to.&amp;nbsp; I even tried concat-ing a space afterwords (since if you put the cursor after the URL and hit space, it creates a hyperlink) and that didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - created a button labeled &amp;quot;View Final Document&amp;quot; and tried to set an onclick action to set the field&amp;#39;s value Command to OpenUrlInBrowser &lt;a&gt;/url=@qRulesLink&lt;/a&gt;.&amp;nbsp; Error in the formula.&amp;nbsp; Even tried OpenUrlInBrowser /url=(substring-after(@qRulesLink, &amp;quot;http&amp;quot;)) and OpenUrlInBrowser /url=substring-after(@qRulesLink, &amp;quot;http&amp;quot;), both errors in formula.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - created a section, made it a hyperlink called View Final Document - works but I can&amp;#39;t seem to hide it with formatting no matter what the conditions.&amp;nbsp; I&amp;#39;ve changed the condition many many times, based it on several fields throughout my form, and it never hides.&lt;/p&gt;
&lt;p&gt;I know I can hide and format a button, so I&amp;#39;d be really happy if once I clicked upload on the SaveToSharePoint command, the URL to the newly saved document was actually a button.&amp;nbsp; I think I could make this solution work if I could just get the hyperlink to be a button.&amp;nbsp;&amp;nbsp;I&amp;#39;m also open of course to other&amp;nbsp;solutions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any thoughts?&amp;nbsp; Suggestions?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>