AnsweredAssumed Answered

Creating URLs to Content

Question asked by akindo on Aug 7, 2007
Latest reply on Aug 16, 2007 by kvc
Hi team,

I am unsure which kind of URL to create to content in the AVM.

The Web Scripts samples create URLs like this:

http://{some IP address}/alfresco/service/api/node/content/avm/get/-1;www;avm_webapps;ROOT;Advice;GapYear;genAdvice.gif/genAdvice.gif

whereas the Virtualization Server preview creates URLs like this:

http://get.www--sandbox.{some IP address}.ip.alfrescodemo.net:8180/Advice/GapYear/genAdvice.gif

I'm trying to create a URL in FreeMarker to pull in this image, which type should I create? The first one does create very long, ugly URLs. And will the first type even work when a JSP page, which is not logged into Alfresco, calls the Web Script?

Thanks!  8)

Outcomes