<?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 creating custom page and template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267098#M220228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to create a custom page/template to create new pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a folder in share:&amp;nbsp; Documents &amp;gt; Alfresco Quick Start &amp;gt;Quick Start Editorial &amp;gt; root &amp;gt;requestaccount&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set the Template Mapping to ws:indexPage=rqstacct&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I than created rqstacct.xml file in my wcmqs webapp in the WEB-INF/pages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;page&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;id&amp;gt;rqstacct&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;Request User Accout&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;template-instance&amp;gt;formblock&amp;lt;/template-instance&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;components&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/components&amp;gt;&lt;BR /&gt;&amp;lt;/page&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I than created the formblock.xml and formblock.ftl in the WEB-INF/templates folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;template-instance&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;title&amp;gt;formblock&amp;lt;/title&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;Template for basic form&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;template-type&amp;gt;formblock&amp;lt;/template-type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;components/&amp;gt;&lt;BR /&gt;&amp;lt;/template-instance&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;formblock.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;test ftl&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;formblock.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to get to the page &lt;/SPAN&gt;&lt;A href="http://localhost:8080/wcmqs/requestaccount/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/wcmqs/requestaccount/&lt;/A&gt;&lt;SPAN&gt; I get a 500 page error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a configuration I am missing to create a new custom page/template?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter Choe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 14:17:39 GMT</pubDate>
    <dc:creator>pchoe</dc:creator>
    <dc:date>2012-05-03T14:17:39Z</dc:date>
    <item>
      <title>creating custom page and template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267098#M220228</link>
      <description>I am trying to create a custom page/template to create new pages.I created a folder in share:&amp;nbsp; Documents &amp;gt; Alfresco Quick Start &amp;gt;Quick Start Editorial &amp;gt; root &amp;gt;requestaccountI set the Template Mapping to ws:indexPage=rqstacctI than created rqstacct.xml file in my wcmqs webapp in the WEB-I</description>
      <pubDate>Thu, 03 May 2012 14:17:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267098#M220228</guid>
      <dc:creator>pchoe</dc:creator>
      <dc:date>2012-05-03T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: creating custom page and template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267099#M220229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Quick check, try restarting your instance just incase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also - this shouldn't change anyhting&amp;nbsp; - but remove the '&amp;lt;components /&amp;gt;' in your xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 16:44:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267099#M220229</guid>
      <dc:creator>drozes</dc:creator>
      <dc:date>2012-05-04T16:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: creating custom page and template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267100#M220230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have restarted the instance several times.&amp;nbsp; Including after clearing the work directory in tomcat folder and the contents of the temp folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason any new page that I create and trying to set the template field either in the index.html page or the folder gives me a 500 page error.&amp;nbsp; It seems that wcmqs is not picking up the new xml file that I created for the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, this is on Alfresco 3.4.5 Enterprise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 03:03:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267100#M220230</guid>
      <dc:creator>pchoe</dc:creator>
      <dc:date>2012-05-23T03:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: creating custom page and template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267101#M220231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Needed to make sure the &amp;lt;id&amp;gt; tag matched the name.&amp;nbsp; D'oh!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 15:07:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267101#M220231</guid>
      <dc:creator>pchoe</dc:creator>
      <dc:date>2012-05-23T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: creating custom page and template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267102#M220232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Needed to make sure the &amp;lt;id&amp;gt; tag matched the name.&amp;nbsp; D'oh!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 15:07:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-page-and-template/m-p/267102#M220232</guid>
      <dc:creator>pchoe</dc:creator>
      <dc:date>2012-05-23T15:07:18Z</dc:date>
    </item>
  </channel>
</rss>

