AnsweredAssumed Answered

Customize presets.xml - Alfresco 4.1.1

Question asked by dmralfing on Aug 5, 2013
Latest reply on Aug 6, 2013 by dmralfing
I´m trying to extend the presets.xml creating a file "presets.xml" in the path TOMCAT\shared\classes\alfresco\web-extension\site-data\presets.
This is the code it contains:

<presets>
  <preset id="user-dashboard">
      <components>
         <component>
            <scope>page</scope>
            <region-id>component-1-1</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/dashlets/my-sites</url>
         </component>
      </components>
      <pages>
         <page id="user/${userid}/dashboard">
            <title>User Dashboard</title>
            <title-id>page.userDashboard.title</title-id>
            <description>Users dashboard page</description>
            <description-id>page.userDashboard.description</description-id>
            <template-instance>dashboard-2-columns-wide-right</template-instance>
            <authentication>user</authentication>
         </page>
      </pages>
   </preset>
</presets>

it doesn´t recognize my file. Also, I have read in a forum that you have to configurate some beans in the custom-slingshot-application-context.xml file, but it doesn´t work anyway.
Somebody know how to customize the presets.xml in alfresco 4.1.1?. I don´t see it in the Wiki for this version, it should be easier!

Outcomes