<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Extracting a filename from a file attachment and using that as a hyperlink.</title><link>https://www.infopathdev.com:443/forums/thread/45943.aspx</link><pubDate>Mon, 17 Aug 2009 22:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45943</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=45943</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;You are right. Both are the same when doing a SP upload.&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;Conceivably it could be altered to show just the datetime stamp prepended&amp;nbsp;filename (which was necessary to avoid overwrite conflicts), though&amp;nbsp;we would need to go back and&amp;nbsp;research the reason we chose to implement it this way.&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;/span&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;As a workaround you can use the “substring-after()” function to get just the filename you want and display that value. You can even add a node to store this value automatically with a default value formula if you want.&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Extracting a filename from a file attachment and using that as a hyperlink.</title><link>https://www.infopathdev.com:443/forums/thread/45909.aspx</link><pubDate>Sat, 15 Aug 2009 16:29:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45909</guid><dc:creator>zhang79</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=45909</wfw:commentRss><description>&lt;p&gt;Ernesto, when I use qRules&amp;#39; qRulesFilename and qRulesLink, it ends up giving me the same value for both (the full URL of the file is returned). I would like it to return only the filename, without the SharePoint document library location in the front. To compensate for the long URL (due to how our server is set up), I&amp;#39;ve had the user give a file title for the attachment.&lt;/p&gt;&lt;p&gt;&amp;nbsp;e.g. If the location of the file is http://www.stuff.com/sharePoint/documents/08162009_aFile.txt, then qRulesFilename and qRulesLink end up being the same value. I would like the &amp;quot;http://www.stuff.com/sharePoint/documents/&amp;quot; to be removed so that the returned value is just 08162009_aFile.txt. Is there any method to do this?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Extracting a filename from a file attachment and using that as a hyperlink.</title><link>https://www.infopathdev.com:443/forums/thread/45872.aspx</link><pubDate>Fri, 14 Aug 2009 15:05:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45872</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=45872</wfw:commentRss><description>&lt;p&gt;Hi Zhang, I&amp;#39;m not sure that I understand your question. qRules does not require user input when saving the file to SharePoint. It indeed does autodetect the filename and uses that to create the link. Can you provide more details concerning the user input? I have not seen this scenario before. Thank you.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Extracting a filename from a file attachment and using that as a hyperlink.</title><link>https://www.infopathdev.com:443/forums/thread/45145.aspx</link><pubDate>Wed, 29 Jul 2009 09:21:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45145</guid><dc:creator>zhang79</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=45145</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;/p&gt;&lt;p&gt;I&amp;#39;m using qRules already to upload a file to another document library but what is generated using qRulesLink and qRulesFilename are actually just links to uploaded file on SharePoint. Right now, I have a hyperlink set to display a string that the user gives the file in a text box and then I have the link set to qRulesLink. While this works, I don&amp;#39;t feel like this is the most elegant solution. Would it be possible to extract the filename from the file attachment control directly instead of asking for user input, saving that name in a field and then setting the link as soon as the file is uploaded?&lt;/p&gt;&lt;p&gt;Thanks all. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>