AnsweredAssumed Answered

QucikStart Template - load Alfresco Webscript

Question asked by techyguy on Apr 23, 2012
Hi guys;

I've been trying to load a Alfresco webscript into a QuickStart and have been unsuccessful.

My template is before.  The second component is me trying to hit the Alfresco tier.  Any advice/direction is greatly appreciated.

Hoping to have alfresco wbescript run a lot of my templates to allow me to create/manage the webscript files through the data dictionary.  Another solution might be to have Alfresco look for webscripts in a folder inside my document library? 




<?xml version="1.0" encoding="UTF-8"?>
<page>
   <id>test_template</id>
   <description>Test Template</description>
   <title>title.section</title>
   <template-instance>test_template</template-instance>
   <authentication>none</authentication>
   <components>
   
      <component>
         <region-id>head</region-id>
         <url>/components/components</url>
         <properties>
            <asset>head.html</asset>
         </properties>
      </component>

   <!– Load Webscript from Alfresco–>      
         <component>
          <region-id>main1</region-id>
          <url>Alfresco/service/tests/loadView</url>
          <properties>
            <asset>index.html</asset>
          </properties>
        </component>
    
       <component>
         <region-id>footer</region-id>
         <url>/components/components</url>
         <properties>
            <asset>footer.html</asset>
         </properties>
      </component>

   </components>
</page>

Outcomes