Mudanças entre as edições de "Preserving ACLs by in order to use the templates on a publish environment"

De Basef
Ir para: navegação, pesquisa
 
Linha 1: Linha 1:
To use use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:
+
To use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:
  
 
<source lang="xml">
 
<source lang="xml">
Linha 25: Linha 25:
  
 
Note the `properties` and `acHandling` tags.
 
Note the `properties` and `acHandling` tags.
 +
 +
To verify that it works, build and deploy your package to an AEM instance. Then go to '''Package Manager''', click over your project package and choose '''Edit'''. Go to '''Advanced''' tab. The '''AC Handling''' option should be set to 'Merge Preserve'.
  
 
[[Category: Adobe AEM]]
 
[[Category: Adobe AEM]]

Edição atual tal como às 20h32min de 2 de abril de 2018

To use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:

<plugin>
    <groupId>com.day.jcr.vault</groupId>
    <artifactId>content-package-maven-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
        <group>aem-guides/wknd</group>
        <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
        <properties>
             <acHandling>merge_preserve</acHandling>
        </properties>
        <embeddeds>
            <embedded>
                <groupId>com.adobe.aem.guides</groupId>
                <artifactId>wknd-sites-guide.core</artifactId>
                <target>/apps/wknd/install</target>
            </embedded>
        </embeddeds>
        <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>
    </configuration>
</plugin>

Note the `properties` and `acHandling` tags.

To verify that it works, build and deploy your package to an AEM instance. Then go to Package Manager, click over your project package and choose Edit. Go to Advanced tab. The AC Handling option should be set to 'Merge Preserve'.