<?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: Exposing templates in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11500#M4542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin, seems like the next release will be a major update if you'll implement everything you have to promise on the forum here!&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more question on this. The Guest access is nice and may be useful in our case but we would like to use this system to present the documents in a more appropriate way to our clients. These documents are confidential documents and the client has an account in the Alfresco system. So:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- externalisation of templates will work in the 1.2 release, great&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- does this work for accounts that will need to login first as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how I see it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. give a URL to the client, this URL points to an appropriate space (in our case the contracts space)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. the client enters this URL in his browser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. the client isn't authenticated yet so Alfresco redirects to the login window and the client enters his username and password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. client authenticated and redirected to the contracts space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. the contract space doesn't look like an Alfresco page but uses our template (so this would look like a normal website)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention the same problem here: &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/forums/viewtopic.php?t=723" rel="nofollow noopener noreferrer"&gt;Problem using template my_spaces.ftl&lt;/A&gt;&lt;SPAN&gt; but if I try to use the external access link I get redirected to the details view of a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2006 07:54:18 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2006-01-24T07:54:18Z</dc:date>
    <item>
      <title>Exposing templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11498#M4540</link>
      <description>Hi aigain,These templates look very promising to build a website for our clients on top&amp;nbsp; of the Alfresco repository. Supposing that these templates and the PHP framework work well together we would like to create a different view (other HTML page) for some spaces.Our folder structure looks like this</description>
      <pubDate>Mon, 23 Jan 2006 16:22:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11498#M4540</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-01-23T16:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11499#M4541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As part of the "Guest" access work for v1.2, the various content access servlets (including the Template processing servlet) now respond to Guest access by default. This means you can create direct access URLs that render the output of a template as a full HTML page directly to the browser even for non-alfresco users. This (as usual! &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; ) will be available in the next release.&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;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2006 18:19:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11499#M4541</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-01-23T18:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11500#M4542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin, seems like the next release will be a major update if you'll implement everything you have to promise on the forum here!&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more question on this. The Guest access is nice and may be useful in our case but we would like to use this system to present the documents in a more appropriate way to our clients. These documents are confidential documents and the client has an account in the Alfresco system. So:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- externalisation of templates will work in the 1.2 release, great&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- does this work for accounts that will need to login first as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how I see it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. give a URL to the client, this URL points to an appropriate space (in our case the contracts space)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. the client enters this URL in his browser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. the client isn't authenticated yet so Alfresco redirects to the login window and the client enters his username and password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. client authenticated and redirected to the contracts space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. the contract space doesn't look like an Alfresco page but uses our template (so this would look like a normal website)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention the same problem here: &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/forums/viewtopic.php?t=723" rel="nofollow noopener noreferrer"&gt;Problem using template my_spaces.ftl&lt;/A&gt;&lt;SPAN&gt; but if I try to use the external access link I get redirected to the details view of a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 07:54:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11500#M4542</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-01-24T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11501#M4543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- externalisation of templates will work in the 1.2 release, great&lt;BR /&gt;- does this work for accounts that will need to login first as well?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, if you don't have a login the system will attempt Guest access, if you do have a login username (now saved in an HTTP Cookie value) then it will present you with the login page (you can now clear this saved value by explicitly Logging Out).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer your points:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Yes that will happen if they had a previously saved username value in a Cookie as mentioned above, otherwise the system will attempt an automatic Guest access login&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. To do exactly this, the URL you give out should be a URL that uses the Content Template servlet. This servlet is specifically designed to render the output of a template (e.g. a dashboard) against a specific node and send the result directly to the output stream.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of a content template URL is something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://machine/alfresco/template/workspace/SpacesStore/0000-0000-0000-0000" rel="nofollow noopener noreferrer"&gt;http://machine/alfresco/template/workspace/SpacesStore/0000-0000-0000-0000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;where the last 3 arguments are the NodeRef of the node to execute the template against (the template to use is picked up from the Dashboard view setting in this case). The code for the TemplateContentServlet should give you more info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the guest access, it means you can generate and give out URLs that render any accessable Alfresco content against a template to any user. So you could for instance give out a URL that executed an RSS XML template against a space to say provide a list of the last updated documents (also accessable via Guest access).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The external access link you mention is specifically for jumping directly to details or browse screens for a specific node from outside the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 09:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11501#M4543</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-01-24T09:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11502#M4544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great reply, thanks! I'll have a look at the TemplateContentServlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't get number 3:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes that will happen if they had a previously saved username value in a Cookie as mentioned above, otherwise the system will attempt an automatic Guest access login.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Seems likely that they didn't have a cookie yet but still need to login (first time a new user tries the URL we sent to him). I probably don't exactly understand what you're saying but I can imaging Alfresco will test if the space has guest access when there is no cookie set and if there isn't it will ask the user credentials. This is not so important, will wait for version 1.2 to check these things first before asking more questions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 09:49:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exposing-templates/m-p/11502#M4544</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-01-24T09:49:41Z</dc:date>
    </item>
  </channel>
</rss>

