AnsweredAssumed Answered

Freemarker templates URL's without space assignment

Question asked by simon on Jul 7, 2006
Latest reply on Jul 12, 2006 by simon
Alf,

Small quick question this time. I have some templates that doesn't require a space to get the data. You can define templates that get the current space name but I have some templates that only use the companyhome.children for example.

I'll still parse these templates with a full URL like this one:
http://<server>/alfresco/template/workspace/SpacesStore/<spaceID>/workspace/SpacesStore/<templateID>
Point is… I don't really need the first 50% of this URL, I only need the template. If use the direct link the Freemarker code isn't parsed. Any way to use a shorter URL to the template without having to assign some space fist?

Why is this important? First of all, it ugly overhead and secondly… spaces may disappear and this could break my template which isn't even using that space.

Outcomes