Have you ever wanted to impart information about a space, but without having to force the user to open a document, or perform a search?
A custom view is a portal that can be attached visually to a space. It is a great way to convey information about a space and it’s contents. A custom view can be attached to any space, but can be particularly effective when used on a company’s division, department or a specific project space.
The templates for Custom Views are found in:
Company Home > Data Dictionary > Presentation Templates
In this example, we are going to use a simple template called “readme.ftl” to convey information about a weekly status call for a fictitious “Phoenix” project.
The template files are <FreeMarker> templates. For more information on FreeMarker see: https://freemarker.sourceforge.net/
For the purposes of this example, you don’t need to know anything about FreeMarker.
Use an editor of your choice and create a readme.html file. Here is what mine looks like:
Welcome to The Phoenix Project;
This is a reminder that we will have our weekly Status meeting tomorrow, <b>Wednesday April 1st, from 10:00 to 11:00 am</b>. Please find tomorrow’s agenda, and this week’s reports (OWL, Kudos, & Events) in the <i>Weekly Meeting Materials</i> folder below. The conference line information is listed below for all of our off-site colleagues:
Call in #: 1 (888) 990-3160
Pass code: 39007728
Program Assistant, Phoenix Project
Progressive Division of American Resource Management
The Phoenix Project
New Out of Old
Once you are finished creating your readme.html file, import it into the space where you want the message to appear. Like so:
To select the template for your Custom View, you will want to view the details of your space. Go up one level to the parent space and then select the View Details icon for your space. It’s the icon in the middle that looks like a sheet of paper. This is the View Details screen for our example space:
Once you are on the View Details screen, select the Modify Icon for Customer View. It’s the blue one just to the left of the trash can. Next select the readme.ftl template like so:
Hit OK and then navigate to your space. Voila!, there is our meeting message. No need to email the information weekly any longer. Now it’s right there in Alfresco along with all the other project documentation. To update the information simply check out and update the readme.html file. When the file is checked back in, the view will automatically update with the new information.
This example is a very simple one. There are a number of presentation templates bundled with Alfresco, or you can create your own template.