How does it work?
We've now looked at the functionality of the details page for records and the Series, Category, and Folder containers. In this "How does it work?" section, we'll investigate in greater detail how some of the internals for the record Details page work.
The Details page
To investigate the Details page, let's first start with the URL for the page. The format for the URL is something like this:
http://localhost:8080/share/page/site/rm/document-details?nodeRef=workspace://SpacesStore/3d3a5066-59bf-45cd-b025-4e5484c9b9af
We can see that the pageid
used within this URL is document-details
. We can then look up the page description file and find that it is the file tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\pages\document-details.xml
.
The page descriptor file references the<template-instance>
as document-details
. If we look that up, we find the file tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\template-instances\document-details.xml
.
From the template...