Skip to content

Commit

Permalink
Update src/main/archetype/ui.content/README.md
Browse files Browse the repository at this point in the history
From @davidjgonzalez

Co-authored-by: david g. <[email protected]>
  • Loading branch information
bohnertchris and davidjgonzalez authored Aug 7, 2023
1 parent bfcd2a2 commit 6d3c19e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/archetype/ui.content/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

The ui.content maven module (`<src-directory>/<project>/ui.content`) includes baseline content and configurations beneath `/content` and `/conf`. ui.content gets compiled into an AEM package much like [ui.apps.](../ui.apps/README.md) The major difference is that the nodes stored in ui.content can be modified on the AEM instance directly. This includes pages, DAM assets, and editable templates. The ui.content module can be used to store sample content for a clean instance and/or to create some baseline configurations that are to be managed in source control.

## filter.xm

The `filter.xml` file for the ui.content module is found at `<src>/<project>/ui.content/src/main/content/META-INF/vault/filter.xml` and contains the paths that will be included and installed with the ui.content package. Notice that a `mode="merge"` attribute is added to the path. This ensures that the configurations deployed with a code deployment do not automatically override content or configurations that have been authored on the AEM instance directly.

## ui.content/pom.xml

The ui.content module, like the ui.apps module, uses the FileVault Package plugin. However the ui.content pom (`<src>/<project>/ui.content/pom.xml`) includes an extra configuration property called `acHandling`, set to `merge_preserve`. This is included because the ui.content module includes Access Control Lists (ACLs) which are permissions, which determine who can edit the templates. In order for these ACLs to be imported into AEM the `acHandling` property is needed.

## filter.xml

The `filter.xml` file for the ui.content module is found at `<src>/<project>/ui.content/src/main/content/META-INF/vault/filter.xml` and contains the paths that will be included and installed with the ui.content package. Notice that a `mode="merge"` attribute is added to the path. This ensures that the configurations deployed with a code deployment do not automatically override content or configurations that have been authored on the AEM instance directly.

0 comments on commit 6d3c19e

Please sign in to comment.