<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124074.aspx</link><pubDate>Fri, 23 Apr 2021 00:24:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124074</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124074</wfw:commentRss><description>&lt;p&gt;Thank you so much for your great suggestion, Hilary. I appreciated it. You&amp;#39;re the best. :-) &lt;/p&gt;&lt;p&gt;Have a&amp;nbsp;great evening! &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Best Regards,&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124072.aspx</link><pubDate>Thu, 22 Apr 2021 20:03:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124072</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124072</wfw:commentRss><description>This isn&amp;#39;t possible, for the same reason as your other question, except in this case, code isn&amp;#39;t an option because we can&amp;#39;t add code to list forms. FormsViewer can do this - both for list and library forms, so if this is a feature you need, you may want to check it out. :)</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124071.aspx</link><pubDate>Thu, 22 Apr 2021 19:51:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124071</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124071</wfw:commentRss><description>&lt;p&gt;Thank you for your quick response, Hilary. The function works now without errors. However, when I use the function&amp;nbsp;&amp;quot;Fx&amp;quot; for a text field, it only shows the file name of the attachment after submission. But I would like to the file name shows right away on the text field after a file attached, is it possible? if yes, how do I make it work? Any suggestion is greatly appreciated. Thanks again, :) &lt;/p&gt;</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124070.aspx</link><pubDate>Thu, 22 Apr 2021 17:44:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124070</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124070</wfw:commentRss><description>Prior to &amp;quot;https&amp;quot; you need to select your field that has the attachment URL and add a comma. You&amp;#39;ll see in my sample I had placeholder text for that.</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124069.aspx</link><pubDate>Thu, 22 Apr 2021 17:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124069</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124069</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I just tried to do in the following steps: &lt;/p&gt;&lt;p&gt;Click on&amp;nbsp;Text Box properties and click on&amp;nbsp;&amp;quot;Fx&amp;quot; function &amp;gt; insert function: substring-after(substring-after(&amp;quot;Link&amp;quot;), &amp;quot;/&amp;quot;) &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124060.aspx</link><pubDate>Wed, 21 Apr 2021 00:13:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124060</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124060</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you for your quick response. Let me try it out.&amp;nbsp;Thanks, :) &lt;/p&gt;&lt;p&gt;&amp;nbsp;By the way,&amp;nbsp;is&amp;nbsp;it possible to&amp;nbsp;get the same solution for the&amp;nbsp;InfoPath document library as it does not appear the attachment URL like the list? How can I make it work? Any suggestion is greatly appreciated. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124059.aspx</link><pubDate>Wed, 21 Apr 2021 00:02:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124059</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124059.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124059</wfw:commentRss><description>I think you could use substring-after(substring-after(URL Field Here, &amp;quot;https://eddnet/sites/TestSite/Lists/TestRequiredFields/Attachments/&amp;quot;), &amp;quot;/&amp;quot;)</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124058.aspx</link><pubDate>Tue, 20 Apr 2021 23:35:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124058</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124058.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124058</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Sorry,&amp;nbsp;other post is&amp;nbsp;slightly different because I&amp;nbsp;realized that&amp;nbsp;the&amp;nbsp;InfoPath form for other post is using the Document Library, which&amp;nbsp;somehow it does not&amp;nbsp;appear the attachment URL as&amp;nbsp;same as the&amp;nbsp;list. Therefore,&amp;nbsp;I&amp;nbsp;was only able to&amp;nbsp;display the attachment URL on the text field&amp;nbsp;for the InfoPath SharePoint list, not&amp;nbsp;the document library and&amp;nbsp;I would like to use a substring for URL (Ex:&lt;u&gt; &lt;/u&gt;&lt;span style="font-size:14pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;font face="Calibri"&gt;&lt;a href="https://eddnet/sites/TestSite/Lists/TestRequiredFields/Attachments/7/Test"&gt;https://eddnet/sites/TestSite/Lists/TestRequiredFields/Attachments/7/Test&lt;/a&gt;&lt;u&gt;
Doc5.docx) &lt;/u&gt;to get the only file name as Test Doc5.docx. is it possible? thanks so much for your help! &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124057.aspx</link><pubDate>Tue, 20 Apr 2021 21:41:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124057</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124057</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m guessing this is related to your other &lt;a href="https://www.infopathdev.com/forums/p/40160/124050.aspx#124050"&gt;post&lt;/a&gt;&amp;nbsp;- what does the URL look like? This must be a SharePoint list form, right? So the URL will have the item&amp;#39;s list ID prior to the name? What&amp;#39;s a sample URL?&lt;/p&gt;</description></item><item><title>Substring attachment URL</title><link>https://www.infopathdev.com:443/forums/thread/124056.aspx</link><pubDate>Tue, 20 Apr 2021 21:22:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124056</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124056</wfw:commentRss><description>&lt;p&gt;Hi, My InfoPath SharePoint list has a file attachment and I am able to display the attachment URL in&amp;nbsp;a separate&amp;nbsp;text field after a file attached. I wonder if there is a way to use a concat (substring-before(My URL), substring-after (My URL)) to get a file name of the attachment to be displayed in the text field, is it possible? Any suggestion is greatly appreciated! &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you so much for your help! &amp;nbsp;&lt;/p&gt;</description></item></channel></rss>