<?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 Re: Url.serverPath variable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222109#M175239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can add feature to correct content of that files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentWriter contentWriter = Repository.getServiceRegistry(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FacesContext.getCurrentInstance()).getContentService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.getWriter(associationRef.getChildRef(),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_CONTENT, true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentReader contentReader = Repository.getServiceRegistry(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FacesContext.getCurrentInstance()).getContentService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.getReader(associationRef.getChildRef(),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_CONTENT, true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just read replace strings and write in same file . easy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 16:19:28 GMT</pubDate>
    <dc:creator>savic_prvoslav</dc:creator>
    <dc:date>2010-02-17T16:19:28Z</dc:date>
    <item>
      <title>Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222102#M175232</link>
      <description>In which configuration file should I change url.serverPath variable in order to receive email notifications with links that look like "http://myservername:8080/alfresco…" and not like "http://localhost:8080/alfresco…"?Now I have to change my email notification templates with replacing this variable</description>
      <pubDate>Wed, 30 Dec 2009 15:17:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222102#M175232</guid>
      <dc:creator>mfoxtrot</dc:creator>
      <dc:date>2009-12-30T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222103#M175233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not think that you have this, urls are hardcoded into templates. so just change templates fixes in 2 min.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you are working with multitenant configuration change files on hard disc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 11:55:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222103#M175233</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-01-04T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222104#M175234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I do not think that you have this, urls are hardcoded into templates. so just change templates fixes in 2 min.&lt;BR /&gt;&lt;BR /&gt;if you are working with multitenant configuration change files on hard disc.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't be serious!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That would mean you couldn't deploy the same template into UAT and then into production without changing them?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 17:16:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222104#M175234</guid>
      <dc:creator>invictus9</dc:creator>
      <dc:date>2010-01-04T17:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222105#M175235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well look at the code for your self.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but it is not hard to manipulate with the text in the file and replace the string for localhost… with your server. this is one way anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 21:23:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222105#M175235</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-01-15T21:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222106#M175236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree it's hard to believe that localhost:8080 has been hardcoded in the template…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I updated my notify_user_email.ftl with the correct production server name but the system isn't picking up the changes to the template and continues to send emails with localhost:8080.&amp;nbsp; How do I get the system to reload the .ftl template so the changes are reflected in the UI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 04:54:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222106#M175236</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-27T04:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222107#M175237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Figured it out - changes to the ftl templates must be done through the Alfresco Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1-Navigate to the template - Company Home &amp;gt; Data Dictionary &amp;gt; Email Templates &amp;gt; Notify Email Templates &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2-Check out and edit template&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3-Check in template&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4-All is good….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 14:42:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222107#M175237</guid>
      <dc:creator>tctim</dc:creator>
      <dc:date>2010-01-27T14:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222108#M175238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I can do this but it seems ridiculous.&amp;nbsp; Is it true that there isn't another variable to can be used instead of url.serverPath so that we don't get&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;localhost:8080?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, can url.serverPath be set somewhere to something less generic?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 20:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222108#M175238</guid>
      <dc:creator>dangruhn</dc:creator>
      <dc:date>2010-02-08T20:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222109#M175239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can add feature to correct content of that files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentWriter contentWriter = Repository.getServiceRegistry(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FacesContext.getCurrentInstance()).getContentService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.getWriter(associationRef.getChildRef(),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_CONTENT, true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentReader contentReader = Repository.getServiceRegistry(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FacesContext.getCurrentInstance()).getContentService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.getReader(associationRef.getChildRef(),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_CONTENT, true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just read replace strings and write in same file . easy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 16:19:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222109#M175239</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-02-17T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222110#M175240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Savic,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What file are you talking about changing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How does this change the effect the value of url.serverPath?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps I need a more specific example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 13:49:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222110#M175240</guid>
      <dc:creator>dangruhn</dc:creator>
      <dc:date>2010-02-25T13:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222111#M175241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My comany &amp;gt; Data Dictionary &amp;gt; Email Templates &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hire you have files witch are used as email templates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you look the text from the files , you will see that they have &lt;/SPAN&gt;&lt;A href="http://yourserver:8080" rel="nofollow noopener noreferrer"&gt;http://yourserver:8080&lt;/A&gt;&lt;SPAN&gt; or something like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all you have to do is change content of files by hand or to create some dialog or else using code that I have send you to change content to mach your server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for instance tenant.somehost.com (or what ever else)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;also other files have this problem like rss and so on. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for my company I have developed system that there is invite template for each language ( en, hr, rs) so correct template is used for each moment regarding of default language of the tenant.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 19:06:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222111#M175241</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-02-26T19:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222112#M175242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Figured it out - changes to the ftl templates must be done through the Alfresco Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1-Navigate to the template - Company Home &amp;gt; Data Dictionary &amp;gt; Email Templates &amp;gt; Notify Email Templates &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2-Check out and edit template&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3-Check in template&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4-All is good….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is good solution &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; but it is a bit not nice, use my code to create dialog defined for admin to automaticly correct the paths to your server .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 19:08:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222112#M175242</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-02-26T19:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222113#M175243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Odd.&amp;nbsp; While testing invite I was logged into share via IP (&lt;/SPAN&gt;&lt;A href="http://10.1.1.1:8080/share" rel="nofollow noopener noreferrer"&gt;http://10.1.1.1:8080/share&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; Invite sent accept path as &lt;/SPAN&gt;&lt;A href="http://10.1.1.1:8080/share/invite_etc" rel="nofollow noopener noreferrer"&gt;http://10.1.1.1:8080/share/invite_etc&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Later I logged in using server host name &lt;/SPAN&gt;&lt;A href="http://ubu.domain.com:8080/share" rel="nofollow noopener noreferrer"&gt;http://ubu.domain.com:8080/share&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; Invite sent accept path as &lt;/SPAN&gt;&lt;A href="http://ubu.domain.com:8080/share/invite_etc" rel="nofollow noopener noreferrer"&gt;http://ubu.domain.com:8080/share/invite_etc&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To confirm I gave server another DNS entry and logged into &lt;/SPAN&gt;&lt;A href="http://alfresco.domain.com:8080/share" rel="nofollow noopener noreferrer"&gt;http://alfresco.domain.com:8080/share&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Sure enough invite sent accept path as &lt;/SPAN&gt;&lt;A href="http://alfresco.domain.com:8080/share/invite_etc" rel="nofollow noopener noreferrer"&gt;http://alfresco.domain.com:8080/share/invite_etc&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appears Alfresco is taking path from the url YOU are logging into.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 16:34:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222113#M175243</guid>
      <dc:creator>geezbit</dc:creator>
      <dc:date>2010-03-02T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222114#M175244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not know this, great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 21:37:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222114#M175244</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-03-02T21:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222115#M175245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The url.serverPath variable gets its value from the repo.remote.url directive in repository.properties. By default it is set to &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&lt;SPAN&gt; - simply replace with the correct external URL and your emailed links will go out fine. You can also override the repo.remote.url directive in tomcat/shared/classes/alfresco-global.properties for a more upgrade-friendly configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 21:34:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222115#M175245</guid>
      <dc:creator>manders</dc:creator>
      <dc:date>2010-04-07T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222116#M175246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys you dont have to edit the template to change the url.serverPath, that means you will have to change all the templates for invitation emails and all the links.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the best solution; there is a file you have to edit and all the others will be good&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the file is called: &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;alfresco-shared.properties&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; and can get it in &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;\alfresco\WEB-INF\classes\alfresco\alfresco-shared.properties&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;look for a line &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;alfresco.rmi.services.external.host=localhost&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edit and change &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;localhost&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; to the &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;servername&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;server IP&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;save and restart the alfresco service then try to send and invitation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;That has to work, any question get me here &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:bkjonah@hotmail.com" rel="nofollow noopener noreferrer"&gt;bkjonah@hotmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy using alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 05:54:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222116#M175246</guid>
      <dc:creator>bkjonah</dc:creator>
      <dc:date>2011-05-09T05:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222117#M175247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In which configuration file should I change url.serverPath variable in order to receive email notifications with links that look like "http://&lt;STRONG&gt;myservername&lt;/STRONG&gt;:8080/alfresco…" and not like "http://&lt;STRONG&gt;localhost&lt;/STRONG&gt;:8080/alfresco…"?&lt;BR /&gt;&lt;BR /&gt;Now I have to change my email notification templates with replacing this variable by exact address of my server.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;———————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what i did; there is a file you have to edit and all the others will be good&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the file is called: alfresco-shared.properties and can get it in \alfresco\WEB-INF\classes\alfresco\alfresco-shared.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;look for a line alfresco.rmi.services.external.host=localhost&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edit and change localhost to the servername or server IP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;save and restart the alfresco service then try to send and invitation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 05:57:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222117#M175247</guid>
      <dc:creator>bkjonah</dc:creator>
      <dc:date>2011-05-09T05:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222118#M175248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;rmi.external ???? I wouldn't change that!!! It sounds to me that what you are changing is the RMI listening port.ç&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In alfresco-global.properties there are those properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;#&lt;BR /&gt;# URL Generation Parameters (The ${localname} token is replaced by the local ser&lt;BR /&gt;ver name)&lt;BR /&gt;#&lt;BR /&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=your.server.fullname&lt;BR /&gt;alfresco.port=80&lt;BR /&gt;alfresco.protocol=http&lt;BR /&gt;&lt;BR /&gt;share.context=share&lt;BR /&gt;share.host=your.shareserver.fullname&lt;BR /&gt;share.port=80&lt;BR /&gt;share.protocol=http&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I would give those a try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 16:07:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222118#M175248</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2011-05-13T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222119#M175249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;rmi.external ???? I wouldn't change that!!! It sounds to me that what you are changing is the RMI listening port.ç&lt;BR /&gt;&lt;BR /&gt;In alfresco-global.properties there are those properties:&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;#&lt;BR /&gt;# URL Generation Parameters (The ${localname} token is replaced by the local ser&lt;BR /&gt;ver name)&lt;BR /&gt;#&lt;BR /&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=your.server.fullname&lt;BR /&gt;alfresco.port=80&lt;BR /&gt;alfresco.protocol=http&lt;BR /&gt;&lt;BR /&gt;share.context=share&lt;BR /&gt;share.host=your.shareserver.fullname&lt;BR /&gt;share.port=80&lt;BR /&gt;share.protocol=http&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I would give those a try.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That didn't work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The url set in the invitation email is the same that I'm using to access the alfresco/share page, even after changing this lines and restarting Alfresco service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 16:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222119#M175249</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2011-05-25T16:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222120#M175250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried every setting suggested in this post and restarted alfresco with each change and none of them seem to work.&amp;nbsp; Running 3.4d community edition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 20:29:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222120#M175250</guid>
      <dc:creator>ssrjazz</dc:creator>
      <dc:date>2011-06-02T20:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Url.serverPath variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222121#M175251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ssrjazz, same problem here. I have tried all the methods above and the invitation email still sends "localhost" instead of the IP of my server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 16:33:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/url-serverpath-variable/m-p/222121#M175251</guid>
      <dc:creator>jorgetarlea</dc:creator>
      <dc:date>2011-09-22T16:33:59Z</dc:date>
    </item>
  </channel>
</rss>

