AnsweredAssumed Answered

Applying templates to external view

Question asked by spazzm on Mar 30, 2006
Latest reply on Mar 31, 2006 by kevinr
Hi,
how can I apply a template to my content in the external view?

When viewing content details using the Alfresco UI there is a 'View in Browser' link on the top lefthand corner - how can I have a template applied to this view?

My content is in the form of XML files, and a lot of information is also stored in the content properties. How can I display this with a template applied without having the user navigate through the menus of the Alfresco UI, and without displaying the Alfresco UI adornments?

Let's say, for example, that I want to view the content (an xml file) stored at
http://example.com/alfresco/download/direct/workspace/SpacesStore/2203ba7d-d800-11da-8f37-6fd510b51452/sample-specialOffer.xml
using the template (an .ftl file) stored at
http://example.com/alfresco/download/direct/workspace/SpacesStore/c4215a59-b960-11da-906c-edb783f6d233/projectspike.ftl

How would I do this?
Do the template and content need to be in the same space?

Outcomes