Magnolia 5.4.4+ introduces a new JCR app that allows you to browse all Magnolia workspaces. If you work with an earlier version see JCR browser.
The JCR browser app is a Magnolia tool that allows you to work at the repository level in any workspace. You can see details that are not readily visible in a specific app's tree view, and edit content and associated configuration.
The app is configured in
Using the app
You can edit and add content in any workspace, but always do this with caution because you are working a repository level.
- Browsing: Use the dropdown to switch between workspaces. All workspaces are available. If you create a new workspace it will automatically be available in the app.
- Display system properties: Check to display properties such as UUIDs, creation dates and user information. These properties are omitted by default. When enabled they cannot be edited and editing actions are disabled.
- Editing: You can work with all content, except system properties, in the same way as any other app.
Website JCR browser example
The JCR browser shows content as it is stored in the JCR and is useful for looking at details that you would not see in the Pages app.
Example: Comparison of Demo Travel's About page in the editor and JCR browser.
|About Magnolia Travels||String|
|Über Magnolia Travels||String|
|<p>We are a full serv ...</p>||String|
|<p>Wir sind eine una...</p>||String|
Nodes and properties:
Component properties are stored under the component node:
|Area properties, if any, reside under the area node.|
Page properties reside under the page node:
Editing in the Website JCR browser
While in some cases the JCR browser may be considered a quicker alternative to editing content in a dedicated app, editing directly in the JCR browser rather than in the app may actually cause more damage than good to the integrity of your data.
There are certain things that you can do in the browser that are not possible in the editor. Here are a few suggestions:
- Add multiple similar components to a page using the Duplicate item action. This saves the time and effort of adding the components from scratch in the editor. Duplicates can be amended in either the editor or browser.
- Add the same component to multiple pages. Duplicate a component on page 1 and then move the duplicate to the same area on page 2 or more.
While it is possible to move components from one page area to another, this is not a best practice. For seamless publishing your page content should always comply with the options in the template.
Publishing in the Website JCR browser
Publishing in the Website JCR browser is different from publishing in the Pages app:
- When you publish a page in the JCR Browser, only the page and its properties are published.
- When you publish a page in the Pages app, the page and ALL its children (properties, areas, components) are published.