<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CIFS path in webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175168#M128298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to insert a link in a webscript template to edit a document via CIFS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can write something like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp; &amp;lt;a href="file://\\SERVERA\alfresco\Path to document"&amp;gt;Edit&amp;lt;/a&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and it works fine, but the server name is hardcoded (SERVERA in this case), which is obsiously not a good practice…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I coundn't find any freemarker expression to produce the server name. Any idea ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 12:18:00 GMT</pubDate>
    <dc:creator>dgenard</dc:creator>
    <dc:date>2008-06-27T12:18:00Z</dc:date>
    <item>
      <title>CIFS path in webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175168#M128298</link>
      <description>Hi, I'd like to insert a link in a webscript template to edit a document via CIFS.I can write something like :&amp;nbsp; &amp;lt;a href="file://\\SERVERA\alfresco\Path to document"&amp;gt;Edit&amp;lt;/a&amp;gt;‍and it works fine, but the server name is hardcoded (SERVERA in this case), which is obsiously not a good practice</description>
      <pubDate>Fri, 27 Jun 2008 12:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175168#M128298</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2008-06-27T12:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS path in webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175169#M128299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Denis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should have a look at the &lt;/SPAN&gt;&lt;STRONG&gt;org.alfresco.web.ui.common.Utils#generateURL()&lt;/STRONG&gt;&lt;SPAN&gt; static method. This method can generate the URL for you. Then to use it from any Freemarker code, you will need to create your own root object calling this method. For this, simply read this section of the template page of the wiki: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Custom_Root_Objects" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Custom_Root_Objects&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 16:33:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175169#M128299</guid>
      <dc:creator>cbosdonnat</dc:creator>
      <dc:date>2008-06-27T16:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS path in webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175170#M128300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer. I hoped there is an easier solution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found a JIRA issue covering this feature : &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/browse/ETWOONE-189" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/browse/ETWOONE-189&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 09:11:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175170#M128300</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2008-07-02T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS path in webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175171#M128301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Denis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you ever able to get this working?&amp;nbsp; I'm in the same situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 18:42:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175171#M128301</guid>
      <dc:creator>mliedtke</dc:creator>
      <dc:date>2008-09-25T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS path in webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175172#M128302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I still have no easy solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feel free to vote for the mentionned JIRA issue in hope it will be solved…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 19:01:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-path-in-webscript/m-p/175172#M128302</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2008-09-25T19:01:14Z</dc:date>
    </item>
  </channel>
</rss>

