The Contacts app is a simple address book. It stores details such as name, photo and address for each contact person. However, the real purpose of the app is to demonstrate the content app framework. This app is an example how to use the ready-made constructs provided by the framework to build a tool that allows editors to create their own custom data model and use the data on the website. 

   

Configuration

The Contacts app is installed by the Contacts module. The app is based on the content app framework so its configuration is typical of any content app. This app is a reference example of a pure content app. You can create your own content apps by copying the Contacts configuration and adapting it to your needs. The app is configured at Configuration > /modules/contacts/apps/contacts.

Workspace

The Contacts app operates on the contacts workspace. The contacts workspace stores the contact persons and their details.

Visitors app adds also contacts

In the Magnolia DX Core Travel Demo, the contacts workspace is registered in the configuration of the Privacy module for demonstration purposes of dealing with personal data. This means the Visitors app interacts not only with the visitors workspace but also with the contacts workspace, which is otherwise primarily used by the Contacts app.

Node types

The Contacts module registers a custom mgnl:contact node type. The Contacts app operates on nodes of this type and on folders.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))