How does it work?
In this "How does it work?" section, we look in detail at how repository webscripts are used to assist the Share-based Records Management web pages retrieve data to support search and audits.
The Records Search page
As we've done previously, it is a matter of tracing back from the pageid
to determine how a Share page works. Let's do this one more time, this time by using the URL of the Records Search page.
From the tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\presets\presets.xml
file, we can see the site page definitions for the Records Management site:
<sitePages>[{"pageId":"documentlibrary"}, {"pageId":"rmsearch"}]</sitePages>
When clicking on the Records Search link, we can also see that the URL for the page is http://localhost:8080/share/page/site/rm/rmsearch
. From this, we know that the pageid
for Records Search is rmsearch
.
If we navigate to tomcat\webapps\share\WEB-INF\classes\alfresco\site-data
, and then look in the pages
directory, we find the...